From f0d99991ba0e5016dbdda13e01ee34c2bfddaf3e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 25 May 2019 18:42:29 -0400 Subject: [PATCH] emacs: gnus: add fancy splitting rules for uw account --- .emacs.d/init.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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") -- 2.20.1