diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-04-14 10:07:31 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-04-14 10:11:47 +0200 |
| commit | 4e27c304ba51e64af8fd0e1295caf86e71e338d4 (patch) | |
| tree | cad369704742ef5629bf835b71c614f3068d501e /.gnus | |
| parent | 21e96cb6c4b678bff9d8345220bfe19054395c73 (diff) | |
| download | dotfiles-4e27c304ba51e64af8fd0e1295caf86e71e338d4.tar.xz | |
Fix message-subject-re-regexp
Otherwise "Re: Repeat-mode" turns into "Re: peat-mode" when replying.
Diffstat (limited to '.gnus')
| -rw-r--r-- | .gnus | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -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 |
