diff options
author | aszlig <aszlig@nix.build> | 2023-03-15 14:24:54 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2023-03-15 14:28:55 +0100 |
commit | c1d772ec004c83413af2eb790e3fe719ad61c622 (patch) | |
tree | 700ce4fcd2875ab458991e50ef20ba205f4c6b64 /pkgs/aszlig/mutt/default.nix | |
parent | 7df7b022c0435e7bcc0164a6fe212fe3813dee52 (diff) |
pkgs/mutt: Add reply_regexp for German "AW:"
Since the default reply regexp depends on the current locale and I refuse to use German localisation for mutt or even my whole system (except for a few corner cases such as time format), replying to emails with "AW: foobar" in the subject gets messy at some point when you get multiple "Re: AW: Re: AW: foobar". So allowing both "Re:" and "AW:" prefixes and stripping them should hopefully make those subjects less messy. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig/mutt/default.nix')
-rw-r--r-- | pkgs/aszlig/mutt/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/aszlig/mutt/default.nix b/pkgs/aszlig/mutt/default.nix index a453031d..a61d7af6 100644 --- a/pkgs/aszlig/mutt/default.nix +++ b/pkgs/aszlig/mutt/default.nix @@ -109,6 +109,7 @@ let use_domain = true; sort.__raw = "threads"; sort_aux.__raw = "last-date-received"; + reply_regexp = "^(re|aw)(\\[[0-9]+\\])*:[ \t]*"; index_format = "%4C %Z %{%b %d %Y %H:%M} %-15.15L (%?l?%4l&%4c?) %s"; }; |