From 65c8ba6d85c02df70ecfc6b395d0d06b81f6a2cc Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 3 Feb 2021 18:49:10 +0100 Subject: Make summary buffers less noisy By recognizing more "reply-cruft". From a cursory glance at Emacs sources, the capture groups in the default value are not used, so I see no need to preserve them. --- .gnus | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gnus b/.gnus index ecf0bde..bc0d5e7 100644 --- a/.gnus +++ b/.gnus @@ -40,7 +40,18 @@ ((gnus-seconds-year) . "%b %d") (t - . "%F"))) + . "%F")) + ;; 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" + (seq "bug#" (+ digit)) + (seq "[" (+ word) "]")) + (? (* space) ":" (* space))))) (let* ((initials (mapconcat (lambda (s) (substring s 0 1)) (split-string user-full-name) -- cgit v1.2.3