Hello Dick,

 On Thursday, October 3, 2002 at 4:09:20 PM +0200, Dick J. Bolderman wrote:

> folder-hook =MailingLists push "<collapse-all>" (this works, eg,
> entering MailingLists.Mutt collapses all threads)

    This matches =MailingLists.Mutt.Archive folder too: The collapse is
done a first time when you enter it.


> folder-hook =MailingLists.Mutt.Archive push "<collapse-all>" (this
> doesn't work, threads don't get collapsed)

    This obviously matches =MailingLists.Mutt.Archive folder: The
collapse is done a second time when you enter it. As collapsing is a
toggle, you end with all threads uncollapsed.


    TFM says:

| Usage: folder-hook [!]regexp command

    ...and:

| If a mailbox matches multiple folder-hook's, they are executed in the
| order given in the muttrc.


    So: remove the second hook, and threads will be collapsed in both
folders.


Bye!    Alain.

Reply via email to