Various ERC customizations
[~bandali/configs] / lisp / bandali-gnus.el
index 180e82a..d5231c2 100644 (file)
@@ -70,6 +70,8 @@
              (nnimap-split-fancy (|
                                   ;; (: gnus-registry-split-fancy-with-parent)
                                   ;; (: gnus-group-split-fancy "INBOX" t "INBOX")
+                                  ;; keep debbugs emails in INBOX
+                                  (list ".*<\\(.*\\)\\.debbugs\\.gnu\\.org>.*" "INBOX")
                                   ;; gnu
                                   (list ".*<\\(.*\\)\\.\\(non\\)?gnu\\.org>.*" "l.\\1")
                                   ;; gnus
              (nnimap-inbox "INBOX")
              (nnimap-split-methods 'nnimap-split-fancy)
              (nnimap-split-fancy (|
+                                  ;; cron reports and other messages from root
+                                  (from "root@\\(.*\\.\\)?csclub\\.uwaterloo\\.ca" "INBOX")
                                   ;; spam
                                   ("X-Spam-Flag" "YES" "Junk")
                                   ;; catch-all
 (use-package gnus-msg
   :config
   (defvar b/shemshak-signature "Amin Bandali
-https://shemshak.org/~amin")
-  (defvar b/uwaterloo-signature "Amin Bandali, MMath Candidate
+https://shemshak.org/~bandali")
+  (defvar b/uwaterloo-signature "Amin Bandali, MMath
 Cheriton School of Computer Science
 University of Waterloo
 https://bndl.org")
-  (defvar b/csc-signature "Amin Bandali
+  (defvar b/csc-signature "Amin Bandali | https://bndl.org
 System Administrator, Systems Committee
-Computer Science Club, University of Waterloo
-https://csclub.uwaterloo.ca/~abandali")
+Computer Science Club, University of Waterloo")
   (setq gnus-message-replysign t
         gnus-posting-styles
         '((".*"