notmuch: Specify `unread' in Emacs config instead of via tags.

master
Pierre Neidhardt 2021-06-18 17:54:57 +02:00
parent 0993bb7709
commit 201f094f84
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +0,0 @@
#!/bin/sh
notmuch tag +nyxt -- tag:unread and \(to:nyxt@noreply.github.com or from:noreply@discourse.atlas.engineer\)

View File

@ -14,7 +14,7 @@
(setq notmuch-saved-searches
`((:name "inbox" :query "tag:inbox and date:1w.." :key ,(kbd "i"))
(:name "unread" :query "tag:unread and -tag:nyxt" :key ,(kbd "u"))
(:name "unread" :query "tag:unread and -(to:nyxt@noreply.github.com or from:noreply@discourse.atlas.engineer)":key ,(kbd "u"))
(:name "unread-all" :query "tag:unread" :key ,(kbd "U"))
(:name "flagged" :query "tag:flagged" :key ,(kbd "f"))
(:name "sent" :query "tag:sent and date:1w.." :key ,(kbd "t"))