Can I make thread collapse status "stickier"?

Ofer Inbar cos at aaaaa.org
Fri Sep 1 13:54:26 UTC 2023


I use <limit> a LOT, and have a bunch of macros defined that use it -
it's one of the most common things I do when browsing my inbox.  I
have this to be able to reset to all messagess:
  macro index \cA "<limit>all^M"

So, my typical pattern is to use one of my hotkeys that sets some
<limit> filter, look at the results, maybe look at or save away a
few messages, then control-A to go "back" to the full mailbox.

My problem is that when I do that, any long threads that I had
collapsed get uncollapsed, which can be very frustrating.  Most
of the time, I leave all short threads uncollapsed, but when there
is a very long thread with recent messages I like to leave it
collapsed most of the time, and only open it when I want to.
I use esc-v to collapse the thread, but every time I ^A to get
back from a <limit>ed mailbox, I have to navigate back to the same
thread and hit esc-v again.

Searched the mutt manual but couldn't find anything about this
behavior.  How can I make the collapse toggle "stick" to the thread,
even when I change the <limit>, so I don't have to keep re-collapsing
the same threads over and over and over?

I know it would be easier if I wanted all my threads collapsed, but I
really really don't.  I only sometimes want specific long threads
collapsed.  However, if there were a way to say "collapse any thread
by default if it has >n messages" that might be close enough to what
I want to be significantly less annoying.  I'm not sure.  Couldn't
find a feature like that either, so couldn't try it and see.
  -- Cos


More information about the Mutt-users mailing list