From 2b1c8ef092d2316f29b299048878f8d02188178e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 30 Jul 2020 21:29:22 -0400 Subject: [PATCH] Avoid moving CSC cron reports to Junk --- etc/custom.el | 10 +++++----- lisp/bandali-gnus.el | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/etc/custom.el b/etc/custom.el index 603eb96..39db4ec 100644 --- a/etc/custom.el +++ b/etc/custom.el @@ -127,8 +127,8 @@ '(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65")) '(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a")) '(ls-lisp-dirs-first t) - '(magit-diff-refine-hunk t) - '(magit-display-buffer-function 'magit-display-buffer-fullframe-status-v1) + '(magit-diff-refine-hunk t t) + '(magit-display-buffer-function 'magit-display-buffer-fullframe-status-v1 t) '(message-elide-ellipsis "[...] ") '(minions-mode t) @@ -148,9 +148,9 @@ '(oddmuse-username "bandali" t) '(org-agenda-files '("~/usr/org/todos/personal.org" "~/usr/org/todos/habits.org" "~/src/git/masters-thesis/todo.org")) - '(org-agenda-start-on-weekday 0) - '(org-agenda-time-leading-zero t) - '(org-habit-graph-column 44) + '(org-agenda-start-on-weekday 0 t) + '(org-agenda-time-leading-zero t t) + '(org-habit-graph-column 44 t) '(org-latex-packages-alist '(("" "listings") ("" "color"))) '(org-pretty-entities t) '(page-break-lines-max-width 70) diff --git a/lisp/bandali-gnus.el b/lisp/bandali-gnus.el index a5e5135..88b05bd 100644 --- a/lisp/bandali-gnus.el +++ b/lisp/bandali-gnus.el @@ -121,6 +121,8 @@ (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 -- 2.20.1