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
|
;; Configuration
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(setq notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key "i")
|
(setq notmuch-saved-searches
|
||||||
(:name "unread" :query "tag:unread" :key "u")
|
'((:name "inbox" :query "tag:inbox" :key "i")
|
||||||
(:name "flagged" :query "tag:flagged" :key "f")
|
(:name "direct" :query "tag:direct and tag:inbox" :key "d")
|
||||||
(:name "sent" :query "tag:sent" :key "t")
|
(:name "action" :query "tag:action" :key "a")
|
||||||
(:name "drafts" :query "tag:draft" :key "d")
|
(:name "review" :query "tag:review" :key "r")
|
||||||
(:name "all mail" :query "*" :key "A")
|
(:name "waiting" :query "tag:waiting" :key "w")
|
||||||
(:name "action" :query "tag:action" :key "a")
|
(:name "broadcast" :query "tag:/broadcast\/.+/" :key "b")
|
||||||
(:name "review" :query "tag:review" :key "r")
|
(:name "systems" :query "tag:/systems\/.+/" :key "s")
|
||||||
(:name "waiting" :query "tag:waiting" :key "w")))
|
(:name "sent" :query "tag:sent" :key "t")
|
||||||
|
(:name "drafts" :query "tag:draft" :key "D")))
|
||||||
|
|
||||||
;; Sort results from newest-to-oldest.
|
;; Sort results from newest-to-oldest.
|
||||||
(setq notmuch-search-oldest-first nil)
|
(setq notmuch-search-oldest-first nil)
|
||||||
|
|
Loading…
Reference in a new issue