On Thu, 03 Oct 2002, Sven Guckes wrote:

> > >   folder-hook . "set sort=threads"

> > Already have that. I created a folder-hook file which contains:
> > folder-hook =MailingLists.Mutt source ~/.mutt/maillist

> > ~/.mutt/maillist contains push <collapse-all> and set sort=thread

> > The Mutt folder collapses, so this works.

> what about the sorting then?  does it work or not?

Yeah that works

> > If a add another folder-hook =MailingLists.Mutt.Archive
> > ~/.mutt/maillist then the Archive folder doesn't collapse.

> your hook is missing the "source" command.

I know, I mistyped it. This is how I am running it now:

### folder-hooks
folder-hook =MailingLists       source ~/.mutt/defaults.maillist

### defaults.maillist
source ~/.mutt/defaults.global
set sort=threads
folder-hook =MailingLists push "<collapse-all>" (this works, eg,
entering MailingLists.Mutt collapses all threads)
folder-hook =MailingLists.Mutt.Archive push "<collapse-all>" (this
doesn't work, threads don't get collapsed)
my_hdr From: list-account

### defaults.global
this file only unsets the my_hdr's and adds some default my_hdr's

-- 

D.J. Bolderman
[EMAIL PROTECTED]

Attachment: msg31502/pgp00000.pgp
Description: PGP signature

Reply via email to