Marius, et al --
...and then Marius Gedminas said...
% On Tue, Jul 11, 2000 at 05:42:13PM +0300, Mikko Hänninen wrote:
% > Jerry Walsh <[EMAIL PROTECTED]> wrote on Tue, 11 Jul 2000:
% > >
% > > Can i specify two sendhooks? or will they overwrite eachother?
% >
% > Two send-hooks with the exact same regexp pattern will overwrite,
%
% I believe you are wrong here. My ~/.muttrc contains three send-hooks
Well, yes and no; perhaps he misspoke under the influence of Jerry's
question. Two hooks with the same regexp will both execute. If you had
two hooks with the same regexp that also set the same variable, like
send-hook farble my_hdr From: A Special Friend <[EMAIL PROTECTED]>
send-hook farble my_hdr From: Your Pal <[EMAIL PROTECTED]>
they would both be executed and the my_hdr command in the latter would
supercede, or overwrite, the my_hdr info from the former. I can't think
of any reason anyone might do this (one figures it's just an error),
but it might come up legitimately with some sort of hook-mixing like a
folder-hook that sources a muttrc that includes the latter send-hook or
some such...
% with pattern `.', and two send-hooks with pattern `^~C \.lt$'. They all
% are executed.
Yep.
%
% Marius Gedminas
% --
% HOST SYSTEM RESPONDING, PROBABLY UP...
:-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.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature