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 will include the full file here so we can find out if something is making it impossible that I defined earlier. -- /Jason G Helfman "At any given moment, you may find the ticket to the circus that has always been in your possession." Fingerprint: 6A32 3774 E390 33B5 8C96 2AA1 2BF4 BD71 35A1 C149 GnuPG http://www.gnupg.org Get Private! 1024D/35A1C149
##.mutt.sets 1.29.00 set markers = no set mbox= +mailbox-`date '+%Y-%b'` set mbox_type= Maildir set move= ask-yes set ignore_list_reply_to # ignore the "Reply-To" lines set index_format="%4C %Z %2M %[!%y%m%d] %-17.17F (%3l) %s" set allow_8bit unset arrow_cursor set ascii_chars # set: use ASCII characters to build the thread tree set attribution="! %n <%a> [%(%d%m%y %H:%M)]:" set autoedit # set: skip the prompts for To: and Subject: set beep_new set noconfirmappend # set: prompt for confirmation on appending mail to folder set confirmcreate # set: prompt for confirmation on creation of folders set delete=ask-yes set edit_headers # edit all headers lines in the editor set editor="vim -c 'set tw=72 et'" set folder=~/Mail # directory with all mail folders set hidden_host # do not use a hostname in the address - PROBLEMATIC! set history=100 # 0.51: number of input lines for prompts to remember set include # set: include mail as quoted text in replies set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s" set index_format="%4C %4N %Z %[!%y%m%d] %-17.17F (%3l) %s" set nomark_old # set: make distinction between New mail and Old mail. set mime_forward #=ask-yes # mutt-0.92: now a quadoption! set nomove # do not move read mails from mailbox to $mbox (was: "set hold") set pager_context=1 # number of lines that overlap on paging set pager_index_lines=0 # number of lines to see from the index set pager_stop # next-undeleted when the end of the mail is shown set print_command = "a2ps -Email --strip-level=3 - | lpr" #postscript, requiers a2sp package #set print_oommand = "fork|lpr" set noprompt_after # set: gives you a prompt when pager exits set quote_regexp="^ *[a-zA-Z]*[]>|}()%:=-][]>|}():=-]*" set read_inc=10 # '10': show count number for every tenth mail set recall=no # do not prompt for recalling postponed mails with 'm' set record=+sent set reply_regexp="^((re|r e|r?f|aw|antw.?|antwort):[ \t]*)*" set reply_to=ask-yes # "reply": set: Use address in Reply-To? set reverse_alias # show the name of sender as set with my alias for him set reverse_name # reply as the user to whom the mail was sent to set shell=bash # use the zsh for shell commands #set sort_aux set sort_browser=reverse-date set status_on_top # set: present the status bar at top, ie before the index set strict_threads # set: use references: for threading only, ie do not set tilde # show non-existant lines of text with a tilde at begin-of-line set tmpdir="/tmp" # directory where temporary files are to be placed set to_chars="X+TCF" set write_inc=1 # number - display increment count for every n-th mail set forw_format="(forw) %s" set hdr_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s" # Sven's favourite set pager_format="%S [%C/%T] %n (%l) %s" # Sven's favourite set status_format="%v: %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]" set postponed="$HOME/Msgs/postponed" set indent_string= "| " set mailcap_path="/home/jhelfman/.mutt/mutt.mailcap:/etc/mailcap" set alias_file="/home/jhelfman/.mutt/mutt.aliases" set sendmail="/var/qmail/bin/sendmail" set query_command="lbdbq %s" #set pager_index_lines=15 # mailboxes mailboxes ! `echo $HOME/Mail/* | sed "s.$HOME/Mail/backup-inbox .."` # mailbox compression open-hook \\.gz$ "gzip -cd %f > %t" close-hook \\.gz$ "gzip -c %t > %f" append-hook \\.gz$ "gzip -c %t >> %f"
#mutt.hooks 08.26.00 # default folder hooks folder-hook . unmy_hdr * folder-hook . set sort=threads folder-hook . set signature=~/.signature folder-hook . 'set attribution="On %d, %n thus spat:'" folder-hook . my_hdr From: Jason Helfman <[EMAIL PROTECTED]> folder-hook . my_hdr X-Operating-System: `uname -mrs` # ignore irritating mesg generated by cclient (uw-imapd / pine) folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\"" # Mailing lists with different posting addresses, .sig files # I'll let the list server set the reply-to address # The "plussed" addresses are a feature of sendmail - where # [EMAIL PROTECTED] is delivered to [EMAIL PROTECTED] - sendmail # ignores everything between the + and @ (and procmail filters on it) folder-hook mutt unmy_hdr * folder-hook mutt "bind index r list-reply; bind pager r list-reply; bind attach r list-reply folder-hook mutt set sort=threads folder-hook mutt set signature=~/.signature folder-hook mutt 'set attribution="On %d, %n muttered:'" #folder-hook mutt my_hdr To: Mutt Users <[EMAIL PROTECTED]> folder-hook mutt my_hdr From: Jason Helfman <[EMAIL PROTECTED]> folder-hook mutt my_hdr X-Operating-System: `uname -mrs` folder-hook bizrate unmy_hdr * folder-hook bizrate set sort=threads folder-hook bizrate set signature=~/.signature-bizrate folder-hook bizrate my_hdr From: Jason Helfman <[EMAIL PROTECTED]> folder-hook bizrate my_hdr Bcc: Jason Helfman <[EMAIL PROTECTED]> folder-hook bizrate my_hdr X-Operating-System: `uname -mrs` folder-hook lugs unmy_hdr * folder-hook lugs "bind index r list-reply; bind pager r list-reply; bind attach r list-reply folder-hook lugs set sort=threads folder-hook lugs set signature=~/.signature folder-hook lugs my_hdr From: Jason Helfman <[EMAIL PROTECTED]> folder-hook lugs my_hdr X-Operating-System: `uname -mrs` folder-hook mutt "push <esc>V" folder-hook lugs "push <esc>V"