On 07/12/02 22:53 -0500, Derrick 'dman' Hudson wrote: > > I notice some really odd behavior in mutt. I have it set up with some > folder-hooks to sort by threads in all my mailing list folders. This > works fine, _except_ for one particular list *iff* I don't have the > line > folder-hook lists.* "<collapse-all>" # collapse all threads > in my .muttrc. (remove that line, and the spamassassin list is not > threaded, put it in and it is). What can I look for to determine why > all but the one list are properly threaded without that line?
I've found that folder hooks are sensitive to the order they are executed. I'm not quite certain if this addresses your question, but here's what I've got in my ~/.muttrc: folder-hook =mbox 'push od<end>l~N<enter>' folder-hook =outbox 'push od<end>' folder-hook =Search 'push od<end>' folder-hook outbox 'set index_format="%4C %Z %d %-20.20t (%3l) %s"' folder-hook Search 'set index_format="%4C %Z %D %-20.20t %-20.20f (%3l) %s"' folder-hook Search 'push od<end>' folder-hook =CGO_Chorus 'push od<end>' folder-hook =My_Posts 'push od<end>' folder-hook =My_Replies 'push od<end>' set sort=threads set sort_aux=subject folder-hook . 'push ot<esc>V<home>' # NOTE: Need to set specific mailbox hook BEFORE setting default. See my note to myself above. I found that I needed to set all the folders where I wanted the non default behavior, e.g. folder-hook . BEFORE the default is set. Otherwise, it didn't work. HTH. John
