Discussion:
collapse on start
Sam Carleton
2003-01-05 16:16:21 UTC
Permalink
What needs to be done so that mutt collapses all read threads
when it starts? I tried adding "set collapse_unread=yes", but
that did not seem to change a thing.

Sam
Bernard Massot
2003-01-05 16:54:09 UTC
Permalink
Post by Sam Carleton
What needs to be done so that mutt collapses all read threads
when it starts? I tried adding "set collapse_unread=yes", but
that did not seem to change a thing.
You also need «exec collapse-all».
--
Bernard Massot
Joshua Crawford
2003-01-05 17:01:30 UTC
Permalink
Post by Sam Carleton
What needs to be done so that mutt collapses all read threads
when it starts? I tried adding "set collapse_unread=yes", but
that did not seem to change a thing.
All $collapse_unread does is make it so mutt will refuse to collapse a
thread which has unread messages in it. What you need is a default
folder-hook. ie,

folder-hook . "push <ESC>V"

<ESC>V being the default binding for <collapse-all>; for some reason (bug)
<collapse-all> and <collapse-thread> are unbindable.
--
Joshua "bruce" Crawford http://geocities.com/mortarn
A meeting is an event at which the minutes are kept and the hours are lost.
paka
2003-01-05 17:09:11 UTC
Permalink
Post by Sam Carleton
What needs to be done so that mutt collapses all read threads
when it starts? I tried adding "set collapse_unread=yes", but
that did not seem to change a thing.
from tfm:

6.3.23. collapse_unread

Type: boolean
Default: yes

When unset, Mutt will not collapse a thread if it contains any unread
messages.


I don't believe that this is what you are trying to accomplish??? IIUC,
when you '<esc>V' to collapse all threads, if 'collapse_unread' is set,
threads with unread messages will **not** be collapsed.

index help screen:
<Esc>V collapse-all collapse/uncollapse all threads
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
icq#173753138
Andre Berger
2003-01-05 16:34:00 UTC
Permalink
Post by Sam Carleton
What needs to be done so that mutt collapses all read threads
when it starts? I tried adding "set collapse_unread=yes", but
that did not seem to change a thing.
Sam
Hi Sam, this works for me:

#collapse threads
folder-hook . "push \eV"
set collapse_unread=yes
set uncollapse_jump=yes

-Andre

Loading...