diff options
author | William Carroll <wpcarro@gmail.com> | 2020-02-16T17·16+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-02-16T17·16+0000 |
commit | 605165452753a9972bca7e064113153212ce61ac (patch) | |
tree | c6a5cfd66306cb90bfa147cd5996597af40282bb /emacs/.emacs.d/wpc | |
parent | 08c3f6dd693c327514d4cd819436a7bcb302f9f3 (diff) |
Support additional notmuch saved queries
Today I setup declarative gmail filters using some Google internal tooling. I'm now adding labels to messages from Critique, Sphinx, Ganpati, "The Daily Insider", messages sent directly to me, and more. These labels are applied server-side. On the notmuch, client-side, I'm support saved queries for these newly created gmail labels.
Diffstat (limited to 'emacs/.emacs.d/wpc')
-rw-r--r-- | emacs/.emacs.d/wpc/email.el | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/emacs/.emacs.d/wpc/email.el b/emacs/.emacs.d/wpc/email.el index 254dc2161ab5..a7415af33793 100644 --- a/emacs/.emacs.d/wpc/email.el +++ b/emacs/.emacs.d/wpc/email.el @@ -17,15 +17,16 @@ ;; Configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(setq notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key "i") - (:name "unread" :query "tag:unread" :key "u") - (:name "flagged" :query "tag:flagged" :key "f") - (:name "sent" :query "tag:sent" :key "t") - (:name "drafts" :query "tag:draft" :key "d") - (:name "all mail" :query "*" :key "A") - (:name "action" :query "tag:action" :key "a") - (:name "review" :query "tag:review" :key "r") - (:name "waiting" :query "tag:waiting" :key "w"))) +(setq notmuch-saved-searches + '((:name "inbox" :query "tag:inbox" :key "i") + (:name "direct" :query "tag:direct and tag:inbox" :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 "sent" :query "tag:sent" :key "t") + (:name "drafts" :query "tag:draft" :key "D"))) ;; Sort results from newest-to-oldest. (setq notmuch-search-oldest-first nil) |