Hi, folks --

I've asked something like this before, but haven't gotten a very good
answer.  Oh, well.  Here's a new question :-)

I have

  send-hook . 'set folder="~/Mail"'

and then

  send-hook 'long|but|definite|regexp' 'set folder="~/Mail/subdir"'

and it works like a charm; any mail sent to one of these addresses will
land in ~/Mail/subdir/addr instead of ~/Mail/addr just as I wish.  And,
as an added "bonus" (but see below), I can then 's'ave the message to
which I just replied and it will also land in ~/Mail/subdir.

Of course, when I then compose a new message or reply to someone *not* in
that long regexp, my $folder is reset, so everything is peachy.

Well, sort of.  If I want to save some other email that doesn't belong in
~/Mail/subdir *before* I've sent something else, $folder doesn't get
reset.  And, as far as I can see, there isn't a way to hook something
after I process a message, or when I hit 's' to save, or whatever.


Any ideas?  Thanks!

:-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

Reply via email to