emacs: gnus: update lists.sr.ht mail splitting regexp
authorAmin Bandali <bandali@gnu.org>
Tue, 10 Sep 2019 14:00:16 +0000 (10:00 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 10 Sep 2019 14:00:16 +0000 (10:00 -0400)
[PATCH lists.sr.ht] Fix syntax of List-ID header (RFC 2919):
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/7995

.emacs.d/init.el

index c18bb8b..a8e7e07 100644 (file)
@@ -1993,9 +1993,9 @@ This function is intended for use with `ivy-ignore-buffers'."
                                  ;; (: gnus-group-split-fancy "INBOX" t "INBOX")
                                  ;; gnu
                                  (list ".*<\\(.*\\)\\.\\(non\\)?gnu\\.org>.*" "l.\\1")
                                  ;; (: gnus-group-split-fancy "INBOX" t "INBOX")
                                  ;; gnu
                                  (list ".*<\\(.*\\)\\.\\(non\\)?gnu\\.org>.*" "l.\\1")
-                                 ;; *@lists.sr.ht, omitting one dot if present
-                                 ;;    add more \\.?\\([^.@]*\\) if needed
-                                 (list ".*<~\\(.*\\)/\\([^.@]*\\)\\.?\\([^.@]*\\)@lists.sr.ht>.*" "l.~\\1.\\2\\3")
+                                 ;; *.lists.sr.ht, omitting one dot if present
+                                 ;;    add more \\.?\\([^.]*\\) if needed
+                                 (list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists.sr.ht>.*" "l.~\\1.\\2\\3")
                                  ;; webmasters
                                  (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters")
                                  ;; other
                                  ;; webmasters
                                  (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters")
                                  ;; other