]> git.madduck.net Git - etc/neomutt.git/commitdiff

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:

fix attribution and enable hooks
authormartin f. krafft <madduck@madduck.net>
Sun, 3 Sep 2023 19:07:06 +0000 (21:07 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 3 Sep 2023 19:07:06 +0000 (21:07 +0200)
.config/neomutt/hooks
.config/neomutt/neomuttrc

index c9934cdc8f16a54d7b797b79ac8799f54d67c90c..104f4bca67be9652c705b607d2b20d0eba77649c 100644 (file)
@@ -16,8 +16,8 @@ send2-hook '~C @vger\.kernel\.org' 'unset followup_to'
 #macro index L '<enter>L'
 # NOTE: using M-F-T from procmail for now
 
 #macro index L '<enter>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"'
 
 # 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"'
index ad9e82a2f0eaedfc487f52c928767daed8ebc025..2ef7e5571dcffbfe21896621f20259a1ef600651 100644 (file)
@@ -1,6 +1,6 @@
 set my_confdir="$HOME/.config/neomutt"
 
 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
 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/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
 
 auto_view text/html text/calendar
 #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar