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.
This commit is contained in:
William Carroll 2020-02-17 16:24:11 +00:00
parent 2e63a4e2e1
commit 159301da50

View file

@ -19,12 +19,12 @@
(setq notmuch-saved-searches (setq notmuch-saved-searches
'((:name "inbox" :query "tag:inbox" :key "i") '((: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 "action" :query "tag:action" :key "a")
(:name "review" :query "tag:review" :key "r") (:name "review" :query "tag:review" :key "r")
(:name "waiting" :query "tag:waiting" :key "w") (:name "waiting" :query "tag:waiting" :key "w")
(:name "broadcast" :query "tag:/broadcast\/.+/" :key "b") (:name "broadcast" :query "tag:/broadcast\/.+/ and tag:unread" :key "b")
(:name "systems" :query "tag:/systems\/.+/" :key "s") (:name "systems" :query "tag:/systems\/.+/ and tag:unread" :key "s")
(:name "sent" :query "tag:sent" :key "t") (:name "sent" :query "tag:sent" :key "t")
(:name "drafts" :query "tag:draft" :key "D"))) (:name "drafts" :query "tag:draft" :key "D")))