From: martin f. krafft Date: Fri, 18 Jan 2019 18:38:58 +0000 (+1300) Subject: restore attribution to english by default X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/5680b03ccd4d35625d2607f36bd76f0b848db876?ds=inline restore attribution to english by default --- diff --git a/.mutt/hooks b/.mutt/hooks index f8e8076..959482a 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -21,6 +21,9 @@ send2-hook '~C @members\.ebay\.com' 'set envelope_from' #macro index L 'L' # NOTE: using M-F-T from procmail for now +message-hook . 'set attribution="$my_attribution_en"' +message-hook '~b "(Danke|Grü(ß|ss)e|Gru(ß|ss)|LG|Liebe|geehrte|Herr|Frau)"' 'set attribution="$my_attribution_de"' + # do not get spam status via imap, as it would download the entire message folder-hook . 'set index_format="%4C %Z %{%F} %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"' folder-hook feeds 'set index_format="%3C %{%F} %-7.7F %s"' diff --git a/.mutt/muttrc b/.mutt/muttrc index faa17af..4f24a1b 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -30,4 +30,3 @@ source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|" set alias_file="$my_confdir/aliases" source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|" -message-hook '~b "(Danke|Grü(ß|ss)e|Gru(ß|ss)|LG|Liebe|geehrte|Herr|Frau)"' 'set attribution="$my_attribution_de"'