From: Amin Bandali Date: Tue, 10 Sep 2019 14:00:16 +0000 (-0400) Subject: emacs: gnus: update lists.sr.ht mail splitting regexp X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/9c0b1e4a230ce4cd3779022009e185315bf68f3b?ds=sidebyside;hp=1d01c927376afe476e066d8ce70905828d31ac1a emacs: gnus: update lists.sr.ht mail splitting regexp [PATCH lists.sr.ht] Fix syntax of List-ID header (RFC 2919): https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/7995 --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c18bb8b..a8e7e07 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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") - ;; *@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