<<< Date Index >>>     <<< Thread Index >>>

Re: How to "unpush"?



* On Wed, Jul 26, 2006 Alain Bench (veronatif@xxxxxxx) muttered:
>  On Tuesday, July 25, 2006 at 20:03:32 +0200, Christian Ebert wrote:
> 
> > Is there a way to "unset" this push on a folder basis?
> 
>     No unpush. Just don't push then:
> 
> > folder-hook . "set sort=threads uncollapse_jump"
> > folder-hook !datesort "push <collapse-all>"
> > folder-hook datesort "set sort=date uncollapse_jump=no"

> > When I <change-folder> to datesort I get a warning: `Threading
> > not enabled'. Because mutt tries to <collapse-all> threads where
> > there aren't any.

A new variable that calls collapse-all only when threading is enabled
could be useful.
collapse_threads [bool] maybe?
The push workaround as the only way of doing it currently always was a
bit clumsy anyways.
»set collapse_threads« would call collapse-all not only when entering
a folder but when switching from sort=date to sort=threads, when new
mail arrives, when you change the limit etc.

Michael
-- 
I've looked at the listing, and it's right!
                -- Joel Halpern

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de