X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/f1ac6b910d78eb5703e430e4d3e38490981cc9bd..15949d808675581d0d7087870b7d6b3701807bd9:/.mutt/muttrc diff --git a/.mutt/muttrc b/.mutt/muttrc index 49df8e3..8ae6d9e 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -1,7 +1,39 @@ # from /usr/share/doc/mutt/examples/Muttrc.gz -set my_confdir="~/.mutt" +set my_confdir="$HOME/.mutt" +# set abort_noattach=no +# +# Name: abort_noattach +# Type: quadoption +# Default: no +# +# +# When the body of the message matches $abort_noattach_regexp and +# there are no attachments, this quadoption controls whether to +# abort sending the message. +# +set abort_noattach=ask-yes +# +# set abort_noattach_regexp="attach" +# +# Name: abort_noattach_regexp +# Type: regular expression +# Default: "attach" +# +# +# Specifies a regular expression to match against the body of the +# message, to determine if an attachment was mentioned but +# mistakenly forgotten. If it matches, $abort_noattach will be +# consulted to determine if message sending will be aborted. +# +# Like other regular expressions in Mutt, the search is case +# sensitive if the pattern contains at least one upper case letter, +# and case insensitive otherwise. +# +set abort_noattach_regexp='attach|beigefügt|angehängt|an(hang|lage)' +#'attach(ing|ed|ment)?|included\W+(with|in)\W+th(is|e\W+(curr|pres)ent)\W+mail|an(geh(ä|=E4|=C3=A4)ngt|h(ä|=E4|=C3=A4)ngsel|bei)|bei(gef(ü|=FC|=C3=BC)gt|lage)|(im|siehe)\W+(anhang|beilage)|attach(e|er|(é|=E9|=C3=A9)e?s?|ement|ant)' +# # set abort_nosubject=ask-yes # # Name: abort_nosubject @@ -247,7 +279,7 @@ set my_confdir="~/.mutt" # in a reply. For a full listing of defined printf()-like sequences see # the section on ``$index_format''. # -set attribution="also sprach %n <%a> [%[%Y.%m.%d.%H%M %z]]:" +set attribution="Quoting %n, who wrote on %{%Y-%m-%d} at %{%H:%M %z}:" # # set autoedit=no # @@ -923,7 +955,7 @@ set folder="~/mail" # This variable controls the default subject when forwarding a message. # It uses the same format sequences as the ``$index_format'' variable. # -set forward_format="%s [Fwd: %a]" +set forward_format="(fwd) %s" # # set forward_quote=no # @@ -1372,7 +1404,7 @@ set ignore_list_reply_to=yes # use the viewer defined in that entry to convert the body part to text # form. # -set implicit_autoview=yes +set implicit_autoview=no # # set include=ask-yes # @@ -1552,6 +1584,7 @@ set include=yes # This variable specifies which files to consult when attempting to # display MIME bodies not directly supported by Mutt. # +set mailcap_path="$my_confdir/mailcap.icalendar:$my_confdir/mailcap.backgrounding:$my_confdir/mailcap.htmldump" # # set mailcap_sanitize=yes # @@ -1847,7 +1880,7 @@ set mime_forward=ask-yes # This option sets the filename used for signature parts in PGP/MIME # signed messages. # -set pgp_mime_signature_filename="digital_signature_gpg.asc" +#set pgp_mime_signature_filename="digital_signature_gpg.asc" # # set pgp_mime_signature_description="Digital signature" # @@ -1855,7 +1888,7 @@ set pgp_mime_signature_filename="digital_signature_gpg.asc" # Type: string # Default: "Digital signature" # -set pgp_mime_signature_description="Digital signature (see http://martin-krafft.net/gpg/)" +#set pgp_mime_signature_description="Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)" # # This option sets the Content-Description used for signature parts in # PGP/MIME signed messages. @@ -2364,6 +2397,7 @@ set pgp_retainable_sigs=yes # have been marked as ``disabled'' by the user. # (PGP only) # +set pgp_show_unusable=no # # set pgp_sign_as="" # @@ -2377,7 +2411,7 @@ set pgp_retainable_sigs=yes # keyid form to specify your key (e.g., ``0x00112233''). # (PGP only) # -set pgp_sign_as="0x330c4a75" +set pgp_sign_as="0x9C9D6979AE941637" # # set pgp_strict_enc=yes # @@ -3430,7 +3464,7 @@ set record="=store" # and replying. The default value corresponds to the English "Re:" and # the German "Aw:". # -set reply_regexp="^((re([[(]?[[:digit:]]+[)]]?)?|a(nt)?w(ort)?|wg|s(gkb|v)):[[:space:]]*)+" +set reply_regexp="^((re([-[(]?[[:digit:]]+[)]]?)?|a(nt)?w(ort)?|wg|s(gkb|v)):[[:space:]]*)+" # # set reply_self=no # @@ -3686,7 +3720,7 @@ set save_history=100 # arguments as recipient addresses. # #set sendmail="/bin/true" -set sendmail="~/.mutt/sendmail" +set sendmail="$my_confdir/sendmail" #set sendmail="/usr/sbin/sendmail -oem -oi" # # set sendmail_wait=0 @@ -3896,6 +3930,7 @@ set simple_search="~L %s | ~s %s" # Note: On Debian systems, this option is set by default to # ``threads'' in /etc/Muttrc. # +set sort=threads # # set sort_alias=alias # @@ -4124,6 +4159,7 @@ set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?% # ``$sort_re'' for a less drastic way of controlling this # behaviour. # +set strict_threads=yes # # set suspend=yes # @@ -4151,6 +4187,7 @@ set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?% # # Note that $indent_string is ignored when this option is set. # +set text_flowed=yes # # set thread_received=no # @@ -4526,14 +4563,16 @@ set xterm_set_titles=yes # Controls the format of the title bar of the xterm provided that # xterm_set_titles has been set. This string is identical in formatting # to the one used by ``$status_format''. -# +# set xterm_title="mutt@%h [%?M?%M/?%m, n:%n]%?V? [%V]?" -# +# -auto_view text/html +auto_view text/html application/ics text/calendar #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar #auto_view application/postscript -alternative_order text/enriched text/plain text application/postscript image/* +alternative_order multipart/mixed multipart/related text/html text/enriched text/* +#alternative_order text/plain text/enriched text/html +#alternative_order text/enriched text/plain text application/postscript image/* mime_lookup application/octet-stream source $my_confdir/colours @@ -4544,8 +4583,11 @@ source $my_confdir/lists source $my_confdir/spam source $my_confdir/hooks -set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` -source $my_mailboxes +set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes" +source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|" +#source "$my_confdir/list-mailboxes $folder $spoolfile|" set alias_file="$my_confdir/aliases" source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|" + +source $my_confdir/sidebar