summaryrefslogtreecommitdiff
path: root/dotfiles/Mail/.notmuch/hooks/post-new
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/Mail/.notmuch/hooks/post-new')
-rwxr-xr-xdotfiles/Mail/.notmuch/hooks/post-new10
1 files changed, 5 insertions, 5 deletions
diff --git a/dotfiles/Mail/.notmuch/hooks/post-new b/dotfiles/Mail/.notmuch/hooks/post-new
index 6d1ba05..840a97a 100755
--- a/dotfiles/Mail/.notmuch/hooks/post-new
+++ b/dotfiles/Mail/.notmuch/hooks/post-new
@@ -47,15 +47,15 @@ notmuch tag -new -unread +codeclimate -- from:hello@codeclimate.com
notmuch tag -new -unread +basecamp -- from:notifications@basecamp.com
# Remaining new mail goes to the inbox
+notmuch tag -new +inbox -- tag:new AND NOT tag:unread
notmuch tag -new +inbox +unread -- tag:new
# GNU mailing lists
notmuch tag -inbox +guix -- to:guix-devel@gnu.org OR to:bug-guix@gnu.org
notmuch tag -inbox +guile -- to:guile-devel@gnu.org OR to:guile-user@gnu.org
-notmuch tag -inbox +gnu -- to:gnu-prog-discuss@gnu.org
-notmuch tag -inbox +mediagoblin -- to:devel@mediagoblin.org
-notmuch tag -inbox +gnu-webmasters -- to:www-discuss@gnu.org
+
+# Mark all archived mail
+notmuch tag +archive -- folder:WSU/Archive
# Remove inbox tag from all mail in archive
-notmuch tag -inbox -- folder:WSU/Archive AND tag:inbox
-notmuch tag -inbox -- folder:FSF/INBOX.Archive AND tag:inbox
+notmuch tag -inbox -- tag:archive AND tag:inbox