dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 4e27c304ba51e64af8fd0e1295caf86e71e338d4
parent 21e96cb6c4b678bff9d8345220bfe19054395c73
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Wed, 14 Apr 2021 10:07:31 +0200

Fix message-subject-re-regexp

Otherwise "Re: Repeat-mode" turns into "Re: peat-mode" when replying.

Diffstat:
M.gnus | 23+++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/.gnus b/.gnus @@ -42,18 +42,17 @@ (t . "%F")) gnus-gcc-mark-as-read t - ;; Add to the list of reply prefixes: - ;; - AW - ;; - no-break spaces - ;; - bug#NNN - ;; - [External] - message-subject-re-regexp (rx bol (+ (* space) - (or "re" "Re" "RE" - "aw" "Aw" "AW" - "sv" "Sv" "SV" - (seq "bug#" (+ digit)) - (seq "[" (+ word) "]")) - (? (* space) (? ":") (* space))))) + ;; This regexp is used both in Gnus summary buffers to detect + ;; and elide similar subjects in a thread, and by message mode + ;; when replying, to determine what to strip from the subject. + message-subject-re-regexp + (rx bol (+ (* space) + (or "re" "Re" "RE" + "aw" "Aw" "AW" + "sv" "Sv" "SV" + (seq "bug#" (+ digit)) + "[External]") + (* space) ":" (* space)))) (gnus-add-configuration '(summary