On 02/25/01, 01:14:23PM -0800, Jason Helfman wrote:
> I tried to get this answered before but haven't found an answer, nor am
> I am able to solve it. When I get into a certain folder I want to
> collapse the sorted threads on the given subject. I have this in my
> muttrc file called mutt.hooks, and I source the file in my .muttrc.
> 
> folder-hook mutt "push <esc>V"
> folder-hook lugs "push <esc>V"

I use the following:
folder-hook =mbox 'push od<end>l~N<enter>'
folder-hook . 'push ot<esc>V<home>'
# NOTE:  Need to set specific mailbox hook BEFORE setting default.

This does the following:

        - sorts my inbox and outbox by date and displays only new
          messages;
        - sorts everything else by threads and then collapses them.
          You could insert (say) mutt for the dot.

Note my comment to myself.  I found that the order of folder hooks does matter.

Good luck and cheers!

John
   
-- 
John P. Verel
Norwalk, CT

Reply via email to