From 2932ad032997188fc4763c4eb218d410b2e5219f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 29 Mar 2014 08:09:51 -0700 Subject: [PATCH] mail/.notmuch/hooks/post-new: Move from-archival to the end I still want subject and issue tags on things I write. Also fix a "from tvrkng@gmail.com" -> "from:tvrkng@gmail.com" typo. --- src/mail/.notmuch/hooks/post-new | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mail/.notmuch/hooks/post-new b/src/mail/.notmuch/hooks/post-new index b29788e..dcaf651 100755 --- a/src/mail/.notmuch/hooks/post-new +++ b/src/mail/.notmuch/hooks/post-new @@ -1,8 +1,5 @@ #!/bin/sh -# immediately archive all messages from "me" -notmuch tag -new -- tag:new and \( from:wking@tremily.us or from:wking@drexel.edu or from tvrkng@gmail.com \) - # tag all message from mailing lists notmuch tag +be -- tag:new and to:be-devel@bugseverywhere.org notmuch tag +bluetooth -- tag:new and to:linux-bluetooth@vger.kernel.org @@ -51,6 +48,9 @@ notmuch tag +admin -- tag:new and \( 'subject:report domain' or 'subject:DMARC.* # tag issues from bugtrackers notmuch tag +issue -- tag:new and \( from:bugzilla-daemon@gentoo.org or from:report@bugs.python.org \) +# archive all messages from "me" +notmuch tag -new -- tag:new and \( from:wking@tremily.us or from:wking@drexel.edu or from:tvrkng@gmail.com \) + # 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 \) -- 2.26.2