diff options
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d3f8850..0d23dfe 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1599,8 +1599,9 @@ For disabling the behaviour for certain buffers and/or modes." ;; (: gnus-group-split-fancy "INBOX" t "INBOX") ;; gnu (list ".*<\\(.*\\)\\.\\(non\\)?gnu\\.org>.*" "l.\\1") - ;; *@lists.sr.ht - (list ".*<~\\(.*\\)/\\(.*\\)@lists.sr.ht>" "l.~\\1.\\2") + ;; *@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 |