From: Amin Bandali Date: Sat, 25 May 2019 22:42:29 +0000 (-0400) Subject: emacs: gnus: add fancy splitting rules for uw account X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/f0d99991ba0e5016dbdda13e01ee34c2bfddaf3e?ds=inline emacs: gnus: add fancy splitting rules for uw account --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d55fb70..b0a340d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1612,7 +1612,16 @@ For disabling the behaviour for certain buffers and/or modes." (nnimap-address "127.0.0.1") (nnimap-server-port 143) (nnimap-authenticator plain) - (nnimap-user "abandali@uw.local")) + (nnimap-user "abandali@uw.local") + (nnimap-inbox "INBOX") + (nnimap-split-methods 'nnimap-split-fancy) + (nnimap-split-fancy (| + (: gnus-registry-split-fancy-with-parent) + ;; se463-s19 + ("subject" "SE\\s-?463" "course.se463-s19") + (from "\\(SE\\s-?463\\|Gema\\)" "course.se463-s19") + ;; catch-all + "INBOX"))) (nnimap "csc" (nnimap-stream plain) (nnimap-address "127.0.0.1")