Hello.
I just want to make a feature request and hope this is the right
place to do.
Let's say I want to view all threads in a message pane (index) as
collapsed (except the ones with new messages).
When mutt first opens mailbox, it uncollapses all threads (i.e. shows
all threads uncollapsed (explicitly)), so I use this:
folder-hook . 'push <collapse-all>'
However, the <collapse-all> command just toggles the *collapse* state
when used repeatedly. Sometimes, the connection to server is lost
and when mutt reconnects, it uncollapses threads again. So, if I use:
account-hook . 'push <collapse-all>'
mutt will just toggle the collapse state every reconnect.
My suggestion is to create explicit <collapse-all> and <uncollapse-all>
commands (whatever their names are) to make it possible to particularly
collapse and uncollapse threads via *account-hook*, *folder-hook* etc.
A big thanks and best wishes to all mutt developers!
--
Mikhail.