From 159301da50ae89a041eff293a5d0c15755ac0e4b Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 17 Feb 2020 16:24:11 +0000 Subject: Further specify saved searches for tags Add tag:unread to: - direct - broadcast - systems Additionally: I added "and not tag:sent" for direct because oftentimes I send myself mail. Without that condition, my sent mail shows up in direct. --- emacs/.emacs.d/wpc/email.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emacs/.emacs.d/wpc/email.el') diff --git a/emacs/.emacs.d/wpc/email.el b/emacs/.emacs.d/wpc/email.el index a7415af33793..78ebe4e5f1d1 100644 --- a/emacs/.emacs.d/wpc/email.el +++ b/emacs/.emacs.d/wpc/email.el @@ -19,12 +19,12 @@ (setq notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key "i") - (:name "direct" :query "tag:direct and tag:inbox" :key "d") + (:name "direct" :query "tag:direct and tag:unread and not tag:sent" :key "d") (:name "action" :query "tag:action" :key "a") (:name "review" :query "tag:review" :key "r") (:name "waiting" :query "tag:waiting" :key "w") - (:name "broadcast" :query "tag:/broadcast\/.+/" :key "b") - (:name "systems" :query "tag:/systems\/.+/" :key "s") + (:name "broadcast" :query "tag:/broadcast\/.+/ and tag:unread" :key "b") + (:name "systems" :query "tag:/systems\/.+/ and tag:unread" :key "s") (:name "sent" :query "tag:sent" :key "t") (:name "drafts" :query "tag:draft" :key "D"))) -- cgit 1.4.1