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.
This commit is contained in:
parent
08c3f6dd69
commit
6051654527
1 changed files with 10 additions and 9 deletions
|
@ -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")
|
||||
(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 "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)
|
||||
|
|
Loading…
Reference in a new issue