<<< Date Index >>>     <<< Thread Index >>>

Re: folder-hook evaluation when invoked with email address



On Thu, Jul 27, 2006 at 07:41:34PM +0200, Alain Bench wrote:
> 
>     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".

Thanks.  That's a perfect workaround for my purposes.

-- 
Ryan Underwood, <nemesis@xxxxxxxxxxxx>