David T-G [[EMAIL PROTECTED]] wrote:
> When reading a large mail folder, such as my mutt folder, I often collapse
> all threads with an esc-V command.  While new messages in an existing
> thread drop into the collapsed thread as expected, I have found, however,
> that new mail in new threads arrives and the threads are uncollapsed.
> At this point, esc-V becomes tricky, since some are collapsed and
> some aren't.
> 
> Am I going to have to go to a folder-hook of some sort, or a macro
> (probably better, since I don't *always* want my mutt folder collapsed)
> to set a "show threads collapsed by default" variable (which I didn't
> find in the manual, BTW -- is there one?) so that new threads get
> collapsed for me?  Or do I really have to sync ($) and exit (x) and
> restart (mutt -f ...) and recollapse (esc-V) to make 'em all the same?

Well, you can always just esc-V twice.  Mutt seems to hold the value of the
all-collapsed toggle, so if you get a half-and-half display like that and
hit esc-V, it switches to all uncollapsed.  Then a second esc-V will
recollapse them all.  I use the following:

macro index \cv "<esc>V<esc>V"

as well as

folder-hook . "push <esc>V"

to start out with everything collapsed.

On a somewhat related, somewhat offtopic note... I've had trouble getting
esc-v or esc-V or any other esc key combo to work since I started running
Mutt in screen.  Anyone know anything about this?  I don't seem to get this
problem with other apps in screen.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-----------------+-------------------------+------------------------------
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

PGP signature

Reply via email to