<<< Date Index >>>     <<< Thread Index >>>

Re: rerunning hooks



also sprach Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> [2008.09.23.1523 +0200]:
> Not really, because it's impossible to know which hooks "apply".
> Hooks are associated with actions, not with states. The send-hook
> applies whenever you attempt to *send* a message, the message-hook
> applies whenever you attempt to *view* a message, and so forth. If
> you are currently sending a message, but are relying on a setting
> that was set by viewing a message (or perhaps are relying on the
> fact that the last message you sent triggered a hook), how is mutt
> to know?

It could pretend that it's reopening the folder, or reviewing
a message, or restarting the composing of an email, etc.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
there are lies, statistics, and benchmarks.
 
spamtraps: madduck.bogus@xxxxxxxxxxx

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)