]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/muttrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

change attribution
[etc/mutt.git] / .mutt / muttrc
index f69d73dfbff50cb72c56d63273f415a2435fc365..8ae6d9e54da414d1ab498b53f4d091a94b2403e7 100644 (file)
@@ -2,6 +2,38 @@
 
 set my_confdir="$HOME/.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
 # set abort_nosubject=ask-yes
 #
 # Name: abort_nosubject
@@ -247,7 +279,7 @@ set my_confdir="$HOME/.mutt"
 # in a reply.  For a full listing of defined printf()-like sequences see
 # the section on ``$index_format''.
 # 
 # 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
 #
 # 
 # set autoedit=no
 #
@@ -4552,7 +4584,7 @@ source $my_confdir/spam
 source $my_confdir/hooks
 
 set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
 source $my_confdir/hooks
 
 set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
-source "test -f $my_mutt_mailboxes && cat $my_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 "$my_confdir/list-mailboxes $folder $spoolfile|"
 
 set alias_file="$my_confdir/aliases"