From c1d772ec004c83413af2eb790e3fe719ad61c622 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 15 Mar 2023 14:24:54 +0100 Subject: 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 --- pkgs/aszlig/mutt/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs') 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"; }; -- cgit 1.4.1