3 Jan 2003 19:06
[mew-int 01233] mew-real-send-hook isn't
David A. Panariti <davep.mew <at> meduseld.net>
2003-01-03 18:06:40 GMT
2003-01-03 18:06:40 GMT
mew-real-send-hook is called from draft mode when using mew-draft-send-message even if you choose 'n' to the "Really send this message" prompt. (prompting requires mew-ask-send be non-nil) So it is called even when the message isn't really sent. I have a need to know when the message is *REALLY* sent. I can think of three solutions: 1) call mew-real-send-hook only if the message is actually sent. This is what the name implies, but changing this may break people's existing code in non-obvious ways. 2) Yet another hook: e.g. mew-real-REAL-send-hook3) Add a flag to the hook. This will break existing code, but it will be obvious as a lisp error. This flag is t if really,REALLY sent, nil otherwise. thanks, davep
3) Add a flag to the hook. This will break existing code, but it will be
obvious as a lisp error.
This flag is t if really,REALLY sent, nil otherwise.
thanks,
davep
RSS Feed