summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-05-25 18:42:29 -0400
committerAmin Bandali <bandali@gnu.org>2019-05-25 18:42:29 -0400
commitf0d99991ba0e5016dbdda13e01ee34c2bfddaf3e (patch)
tree433009d59a3d53edeadf72d858fe49ed0fe2b465
parent40b9eac113f2a98b718e71abdab9a3e54ead3f74 (diff)
downloadconfigs-f0d99991ba0e5016dbdda13e01ee34c2bfddaf3e.tar.gz
configs-f0d99991ba0e5016dbdda13e01ee34c2bfddaf3e.tar.xz
configs-f0d99991ba0e5016dbdda13e01ee34c2bfddaf3e.zip
emacs: gnus: add fancy splitting rules for uw account
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el11
1 files changed, 10 insertions, 1 deletions
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")