diff options
author | William Carroll <wpcarro@gmail.com> | 2020-02-17T16·24+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-02-18T11·09+0000 |
commit | 159301da50ae89a041eff293a5d0c15755ac0e4b (patch) | |
tree | fcb98a480e6739e95617fa2ed3ab39e2cf6d2373 /emacs | |
parent | 2e63a4e2e1effca4ca605b45a0beb976a0df9dd0 (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')
-rw-r--r-- | emacs/.emacs.d/wpc/email.el | 6 |
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"))) |