diff options
author | jp39 <jp39@gmx.com> | 2022-11-10 19:39:19 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-11-13 17:13:53 +0100 |
commit | 40cc540357d92aee07fba2819801e168d3bf0f33 (patch) | |
tree | c85e42e5298a56308bcbd9d242c01460492aa378 /CHANGELOG.md | |
parent | 76002741072a61d1adcf97f708a3db9d544b27de (diff) | |
download | aerc-40cc540357d92aee07fba2819801e168d3bf0f33.tar.gz |
reply: allow to override localized Re regexp in configuration
My corporate email server annoyingly adds an "[External] " prefix when
delivering emails from outside my organization. I'd like to be able to
automatically strip it from the subject line when replying to external
emails.
With this patch, I can achieve it by setting this line in my account
configuration:
subject-re-pattern = ^(\[External\] : )?((?i)((AW|RE|SV|VS|ODP|R): ?)+)
Signed-off-by: jp39 <jp39@gmx.com>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 805d05f9..300acfcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Preview messages with their attachments before sending with `:preview` - Filter commands now have `AERC_FORMAT`, `AERC_SUBJECT` and `AERC_FROM` defined in their environment.` +- Override the subject prefix prefix for replies pattern with + `subject-re-pattern`. ### Fixed |