Re: folder-hook evaluation when invoked with email address
Hello Ryan,
On Thursday, July 20, 2006 at 16:44:29 -0500, Ryan Underwood wrote:
> When invoking mutt with an email address [...] how can I get mutt to
> evaluate folder-hooks?
You can't, by design principle. One possible workaround is to:
-0) Make sure settings done in default folder-hooks are also done
statically in muttrc.
-1) Move all the commands from inside the uunet folder-hook(s) to a
file called profile-uunet.
-2) Change the uunet folder-hook(s) to one:
| folder-hook \\<uunet$ "source ~/.mutt/profile-uunet"
-3) Create a file muttrc-uunet containing 2 lines:
| source ~/.mutt/muttrc
| source ~/.mutt/profile-uunet
-4) do "mutt -F ~/.mutt/muttrc-uunet asdf@xxxxxxxx".
Bye! Alain.
--
When you want to reply to a mailing list, please avoid doing so with
Hushmail. This lacks necessary references and breaks threads.