Re: Grouping commands in muttrc?
On Thu, Jan 24, 2008 at 10:09:28AM -0600, Kyle Wheeler wrote:
> Yup, you can put several commands in a folder-hook; you just have to
> separate them with semicolons and put them all in a single quote
> block. They can even span multiple lines, like so:
>
> folder-hook . 'set ascii_chars=yes ; set othervariable=no ; \
> set thirdvariable=ask-yes'
I've done that and it kinda works. This is from my muttrc:
folder-hook . '\
source $HOME/.mutt/profile.normal; \
set sort=date'
folder-hook Lists '\
source $HOME/.mutt/profile.dunno; \
set sort=thread'
The idea is that I like threaded listing for mailing lists, and by-date
otherwise. Also I have two different "identities" for mailing lists and
work.
Curiously, however, the "identity switching" works but the sorting doesn't.
I always het everything sorted by date.
How's that possible?
--D.