From: martin f. krafft Date: Sun, 3 Sep 2023 19:07:06 +0000 (+0200) Subject: fix attribution and enable hooks X-Git-Url: https://git.madduck.net/etc/neomutt.git/commitdiff_plain/a6c55ca67cbe2379ae468140a05cb58b6658eaff fix attribution and enable hooks --- diff --git a/.config/neomutt/hooks b/.config/neomutt/hooks index c9934cd..104f4bc 100644 --- a/.config/neomutt/hooks +++ b/.config/neomutt/hooks @@ -16,8 +16,8 @@ send2-hook '~C @vger\.kernel\.org' 'unset followup_to' #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)|Lieber?|geehrter?|Herr|Frau|Moin|Servus|Lg|Deine?|Ihre?)\\>"' 'set attribution="$my_attribution_de"' +reply-hook . 'set attribution="$my_attribution_en"' +reply-hook '~b "\\<(Danke|Grü(ß|ss)e|Gru(ß|ss)|Lieber?|geehrter?|Herr|Frau|Moin|Servus|Lg|Deine?|Ihre?)\\>"' '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 %-10@date@ %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"' diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc index ad9e82a..2ef7e55 100644 --- a/.config/neomutt/neomuttrc +++ b/.config/neomutt/neomuttrc @@ -1,6 +1,6 @@ set my_confdir="$HOME/.config/neomutt" -set my_attribution_de="Hinsichtlich folgendem, das \"%n\" am %{%Y-%m-%d} um %{%H:%M Uhr %Z} schrieb:" +set my_attribution_de="Hinsichtlich Folgendem, was \"%n\" am %{%Y-%m-%d} um %{%H:%M Uhr %Z} schrieb:" set my_attribution_en="Regarding the following, written by \"%n\" on %{%Y-%m-%d} at %{%H:%M Uhr %Z}:" source $my_confdir/confvars @@ -10,7 +10,7 @@ source $my_confdir/alternates source $my_confdir/keybindings source $my_confdir/lists source $my_confdir/spam -#source $my_confdir/hooks +source $my_confdir/hooks auto_view text/html text/calendar #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar