From: W. Trevor King Date: Sun, 27 Jan 2013 14:07:11 +0000 (-0500) Subject: mail:notmuch:hooks:post-new: Keep some tags from the inbox X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e6c2f602e17806a43121f82ceec50a254ebd317;p=dotfiles-public.git mail:notmuch:hooks:post-new: Keep some tags from the inbox For lists that I'd like to archive but don't generally read as they come in. --- diff --git a/src/mail/.notmuch/hooks/post-new b/src/mail/.notmuch/hooks/post-new index 85de15e..7997705 100755 --- 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