projects
/
dotfiles-public.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec6e58
)
mail:notmuch:hooks:post-new: Keep some tags from the inbox
author
W. Trevor King
<wking@tremily.us>
Sun, 27 Jan 2013 14:07:11 +0000
(09:07 -0500)
committer
W. Trevor King
<wking@tremily.us>
Sun, 27 Jan 2013 14:07:11 +0000
(09:07 -0500)
For lists that I'd like to archive but don't generally read as they
come in.
src/mail/.notmuch/hooks/post-new
patch
|
blob
|
history
diff --git
a/src/mail/.notmuch/hooks/post-new
b/src/mail/.notmuch/hooks/post-new
index 85de15e4415070260ee024e785bde2dc81e5a72a..79977059da703fb05e6693439757d1a64d2756d4 100755
(executable)
--- a/
src/mail/.notmuch/hooks/post-new
+++ b/
src/mail/.notmuch/hooks/post-new
@@
-33,5
+33,8
@@
notmuch tag +journal -- tag:new and folder:journal
# tag sysadmin stuff
notmuch tag +admin -- tag:new and 'subject:report domain'
+# remove new from things we don't want in the inbox
+notmuch tag +unread -new -- tag:new and \( tag:gramps or tag:notmuch or tag:simulavr \)
+
# finally, retag all "new" messages "inbox" and "unread"
notmuch tag +inbox +unread -new -- tag:new