Josh Huber <[EMAIL PROTECTED]> wrote on Thu, 26 Oct 2000:
> How about I just make it always set the values depending on what I
> press:
That would work.
> macro index m ":source ~/.mutt/autoselect^mY"
You don't need to have a separate binding for the mail-function to Y,
you can just put "<mail>" instead there.
You will also have to remember to define macros for the pager, but I
guess you know that. :-)
> more brute force, but less of a pain to implement? (haven't tried it
> yet though)
I'd say that's a better solution actually, than what I suggested. :-)
Just don't forget the unhook's where appropriate. Not that it won't
work without them, but send-hooks accumulate, so after writing a few
emails you will have quite a lot of various send-hooks defined, most
of which override previous send-hook definitions. Not that I've ever
seen Mutt slow down because of using too many send-hooks, but it's a
good practice anyway to clean up after yourself. :-)
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Scotty, beam us aboard." "Aye, sir. Will a 2x4 do?"