Jussi -- ...and then Jussi Ekholm said... % ... % But I was just wondering about the logic Muttþ uses with hooks.
It all depends. No, really! Some hooks can be applied more than once, so mutt reads all of those definitions and applies the union of the sets. Some hooks can only be applied once, so mutt applies only the first one that matches. IIRC, send & folder are multi while fcc & save & msg are single. I think there are other hooks that I'm too lazy to look up in the manual, but you get the idea. % Shouldn't that be plain obvious with that first send-hook, that *only* % add sig.foo to mails going to [EMAIL PROTECTED]? Why on earth do I need % send-hook to define, that I don't want to use sig.foo in every other % mail, as well? In some cases it seems obvious to someone reading the code, but mutt can't make that assumption. Furthermore, what about the terribly contrived example wherein you want your signature to change from now on (or until some other triggering condition) after having met this hook? I dunno; maybe your sig changes to "off duty" as soon as you send in your email to clock out electronically or some such... % % þ Mutt 1.5.1i (2002-05-02) % % -- % Jussi Ekholm -- [EMAIL PROTECTED] -- http://erppimaa.cjb.net/ HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg28876/pgp00000.pgp
Description: PGP signature