# -*-shell-script-*- # Mutt run control. # source ~/.mutt/muttrc-private source ~/.mutt/alias set alias_file=~/.mutt/alias # for use by, e.g., create-alias function # set alternates=michael\.c\.allan@rbs\.rogers\.com|mike@zelea\.com|michaelallan@rbs\.rogers\.com ## doc bug, its not a variable but a command: alternates mike(-.*)@zelea\.com michael\.c\.allan@rbs\.rogers\.com michaelallan@rbs\.rogers\.com unset help set menu_scroll unset user_agent bind editor delete-char # though this binding is supposed to be the default # Colours. # # Barfs on anything > color7. # Maybe because of what $TERM is set to, but I don't know what to do about that. # Sometimes using the 'bright' prefix gives you those colours, # as though by adding 8 to the colour index. # Unfortunately it also makes the font bold at the same time. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - color attachment color6 color0 # less blinding in compose menu # but no effect there message-hook ~P \ "color body color7 color0 '^.*$'" message-hook ! ~P \ "color body color4 color0 '^.*$'" # message-hook . \ # "color body color3 color0 '^ *>.*$'" # quote other (all) by default ## apparently not called when message changes, so use explicit rules for other: message-hook ~P \ "color body color6 color0 '^( *> *>)+ *[^ >].*$'" # quote me (even) message-hook !~P \ "color body color3 color0 '^( *> *>)+ *[^ >].*$'" # quote other (even) message-hook ~p \ "color body color6 color0 '^ *>( *> *>)* *[^ >].*$'" # quote me (odd) message-hook !~p \ "color body color3 color0 '^ *>( *> *>)* *[^ >].*$'" # quote other (odd) color hdrdefault color6 color5 # note that header colours below affect entire lines # cannot use pattern matching to distinguish between header names and header content within a line color header color3 color5 '^from: |^to: ' # by default color header color6 color5 '^[^@]*(mike(-.*)?@zelea\.com|michael\.c\.allan@rbs\.rogers\.com|michaelallan@rbs\.rogers\.com)[^@]*$' # i.e. from me, or to me alone color header color2 color5 '^subject: ' # affects entire lines (cannot discriminate between header names and header content) color header brightcolor3 color5 '^x-tmda-confirmed' color index color2 color0 '~A' # should never occur, if rules below are correct () color index color7 color0 ' ~P (~F | ~N | ~O) !~D' color index color6 color0 ' ~P !(~F | ~N | ~O) !~D' color index color4 color0 '!~P (~F | ~N | ~O) !~D' color index color3 color0 '!~P !(~F | ~N | ~O) !~D' color index color1 color0 '~D' # color indicator color2 color5 ## Although this looks pretty, it clobbers the normal color of the message. ## Ideal would be to just change the background; ## but there is no way to do this. ## Default is reverse video, which only works properly with Ncurses; ## with S-lang, reverse video clobbers colors. ## So USE -slang when compiling if you want a useable reverse video indicator. mono indicator underline ## neither this nor any other mono attributes have effect (indicator is always reverse video) # set arrow_cursor # instead of altering entire line ## slightly harder to navigate with, but a little better looking if dressed up: # mono indicator none # no effect, again # color indicator color2 color0 color markers color6 color1 color signature color6 color5 color status color6 color1 color tree brightcolor0 color0 # Composition. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - unset abort_nosubject set edit_headers # set editor='emacs --funcall=mutt-mail-mode' # set editor='emacs --execute=mutt-mail-mode' ## no luck with either, so instead I added something to ~/.emacs auto-mode-alist # set editor='emacs --geometry=93x56+2503+0' ## does not work well in terminal mode # instead use EDITOR='emacs --geometry=93x56+2503+0' on command line, when in windowed enviornment # set editor='/home/mike/system/bin/desk-launch editor' ## fails, because asynch (for sake of cascade-pilot) -- no need anyway set fast_reply set include=yes # send-hook . set attribution='Quoting %n (%d)' ## complains about %n [maybe you need " instead of '?] so: # send-hook . reset attribution # send-hook argog@sympatico\.ca|ndjafaro@ryerson\.ca|ukrainec@sympatico\.ca \ # set attribution='' ## but I rarely want it, so: # set attribution='' # set attribution="Thus spake %n:" set attribution="%n wrote:" # File system and lists. See also /etc/mutt/Muttrc # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - unset fcc_attach set postponed==/_/postponed # mailboxes (below) are those lists whose new messages will show up on status bar mailboxes ! =/apsa_itp =/consult =/election-methods =/ncdd-discussion =/opencitiesorganize =/openid4java =/research =/start =/textbender =/torcamp =/votorola =/writing-and-the-digital-life lists apsa_itp@latte.harvard.edu consult@groups.dowire.org election-methods@lists.electorama.com ncdd-discussion@lists.thataway.org opencitiesorganize@googlegroups.com openid4java@googlegroups.com research@groups.dowire.org start@metagovernment.org textbender@googlegroups.com torcamp@googlegroups.com users@wicket.apache.org votorola@googlegroups.com writing-and-the-digital-life@jiscmail.ac.uk subscribe apsa_itp@latte.harvard.edu consult@groups.dowire.org election-methods@lists.electorama.com ncdd-discussion@lists.thataway.org opencitiesorganize@googlegroups.com openid4java@googlegroups.com research@groups.dowire.org start@metagovernment.org textbender@googlegroups.com torcamp@googlegroups.com users@wicket.apache.org votorola@googlegroups.com writing-and-the-digital-life@jiscmail.ac.uk # Index. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - unset mark_old set strict_threads set sort=reverse-threads set sort_aux=last-date-sent # set index_format= "%30.30L %{%m%d} %Z%T %s" # %T ($to_chars) as workaround for bug in which $to_chars in %Z is overwritten by status, such as important (!) # folder-hook . 'set index_format="%30.30L %{%m%d} %Z %s"' # folder-hook /list/ 'set index_format="%30.30F %{%m%d} %Z %s"' set index_format= "%30.30F %{%m%d} %Z %s" set to_chars='0 23 L' # 0 not to|cc me # to me alone # 2 to me and others # 3 cc me and to|cc others # from me # L to list set status_format=" %f %?M?%M / ?%m messages%?u? %n unread?%?d? %d deleted?%?F? %F flagged?%?t? %t tagged?%?p? %p postponed?%> %?l?%l? " # Pager. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - set pager_format=" %3C / %m %c" set pager_index_lines=11 set pager_stop # - - - header weedings - - toggle at runtime with key h -- see also variable 'weed' ignore * unignore from: to: subject: cc: bcc: # though I'm unsure if bcc really ever occurs unignore posted-to: x-mailer: x-newsreader: x-mailing-list: unignore x-tmda-confirmed: # Transport. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - set from='"Michael Allan" ' # though it fails to add the quotes ", which are technically required per RFC 822 ### maybe like this (though \ should not be needed in '' quote): # set from='\"Michael Allan\" ' ### no, that doesn't set at all # set realname='Michael Allan' send-hook . set signature=~/.signature # send-hook argog@sympatico\.ca|ukrainec@sympatico\.ca \ # set signature=~/.signature-informal set save_name # save copy of outgoing message to folder named after destination-address username, if it exists (e.g. after list name)