Show
Ignore:
Timestamp:
2006-07-19 17:12:51 (2 years ago)
Author:
Alain Bench <veronatif@…>
Branch:
HEAD
Message:

Clean up a number of examples in the documentation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • contrib/sample.muttrc

    r3832 r4745  
    4141#set forward_format="[%a: %s]"  # subject to use when forwarding messages 
    4242#set forward_quote              # quote the header and body of forward msgs 
    43 #set hdr_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s" 
    44 set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index 
     43#set index_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s" 
     44set index_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index 
    4545#set hdrs                       # include `my_hdr' lines in outgoing messages 
    4646#set header                     # include message header when replying 
     
    105105set nouse_domain                # don't qualify local addresses with $domain 
    106106#set use_from                   # always generate the `From:' header field 
    107 set use_mailcap=yes             # always use a mailcap entry when found 
     107set implicit_autoview=yes       # pager shows parts having a mailcap viewer 
    108108set pgp_verify_sig=no           # don't automatically verify message signatures 
    109109#set visual=vim                 # editor invoked by ~v in the builtin editor 
     
    177177bind generic \177 last-entry 
    178178 
    179 macro index \cb |urlview\n      # simulate the old browse-url function 
    180  
    181 macro index S s+spam\n 
    182 macro pager S s+spam\n 
    183  
    184 #macro index \# /bug^M  # search for bugs 
    185 #macro index "\""        ":set realname=\"real hairy macro\"^M:set ?realname^M" # and a comment to boot! 
    186 #macro index f1 :woohoo! 
     179macro index \cb "<pipe-message> urlview<Enter>" # simulate the old browse-url function 
     180 
     181macro index S "<save-message>+spam<Enter>" 
     182macro pager S "<save-message>+spam<Enter>" 
     183 
     184#macro index \# "<search>bug<Enter>"    # search for bugs 
     185#macro index "\""       "<enter-command> set realname=\"real hairy macro\" ?realname<Enter>" # and a comment to boot! 
     186#macro index f1 "<enter-command>woohoo!" 
    187187 
    188188bind pager G bottom     # just like vi and less 
    189 #macro   pager   \Ck     "|pgp -kaf^M"   # a comment is valid here 
    190 #macro pager X "|morepgp^M"     # pipe PGP message to a script 
     189#macro   pager   \Ck     "<pipe-message> pgp -kaf<Enter>"   # a comment is valid here 
     190#macro pager X "<pipe-message> morepgp<Enter>"  # pipe PGP message to a script 
    191191 
    192192#bind editor \cy eol    # make ^Y jump to the end of the line 
     
    209209 
    210210#save-hook mutt- =mutt-mail 
    211 #save-hook aol\.com +spam 
     211#save-hook aol\\.com$ +spam 
    212212save-hook ^judge +diplomacy 
    213213 
     
    253253# <command> is executed when opening a mailbox matching <pattern> 
    254254 
    255 #folder-hook . 'set sort=date-sent' 
    256 #folder-hook mutt 'set hdr_format="%4C %Z %02m/%02N %-20.20F (%4l) %s"' 
    257 #folder-hook =mutt my_hdr Revolution: \#9 # real comment 
    258  
    259 #folder-hook . 'set reply_regexp="^re:[ \t]*"' 
     255#folder-hook .          'set sort=date-sent' 
     256#folder-hook mutt       'set index_format="%4C %Z %02m/%02N %-20.20F (%4l) %s"' 
     257#folder-hook =mutt      my_hdr Revolution: \#9 # real comment 
     258 
     259#folder-hook .          'set reply_regexp="^re:[ \t]*"' 
    260260 
    261261# this mailing list prepends "[WM]" to all non reply subjects, so set 
    262262# $reply_regexp to ignore it 
    263 #folder-hook +wmaker 'set reply_regexp="^(re:[ \t]*)?\[WM\][ \t]*"' 
     263# Warning: May break threads for other people. 
     264#folder-hook +wmaker    'set reply_regexp="^(re:[ \t]*)?\[WM\][ \t]*"' 
    264265 
    265266# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
     
    303304#       lists <list-name> [ <list-name> ... ] 
    304305 
    305 lists mutt-dev mutt-users 
     306lists ^mutt-dev@mutt\\.org$ ^mutt-users@mutt\\.org$ 
    306307 
    307308# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -