about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/email.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-17T16·24+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-18T11·09+0000
commit159301da50ae89a041eff293a5d0c15755ac0e4b (patch)
treefcb98a480e6739e95617fa2ed3ab39e2cf6d2373 /emacs/.emacs.d/wpc/email.el
parent2e63a4e2e1effca4ca605b45a0beb976a0df9dd0 (diff)
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.
Diffstat (limited to 'emacs/.emacs.d/wpc/email.el')
-rw-r--r--emacs/.emacs.d/wpc/email.el6
1 files changed, 3 insertions, 3 deletions
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")))