summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-06 06:37:25 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-11 18:37:32 -0700
commitc3f45eb4929d3a9248daeb261e25ddbc94d77f87 (patch)
tree424913503b4ad91d1056e2eb2cd2da7fee9ddcfc
parentfcc6ba877104ff97d8630082a714bfa2979ce77f (diff)
downloaddotfiles-c3f45eb4929d3a9248daeb261e25ddbc94d77f87.tar.gz
mark spam and trash as read
-rwxr-xr-x.fmail/.notmuch/hooks/post-new8
1 files changed, 4 insertions, 4 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.fmail/.notmuch/hooks/post-new
index 1f0215ac..1f908d41 100755
--- a/.fmail/.notmuch/hooks/post-new
+++ b/.fmail/.notmuch/hooks/post-new
@@ -8,8 +8,8 @@ notmuch tag -unread -- folder:sent
# mark all drafts as drafts, and as read
notmuch tag -unread +draft -- folder:drafts
-# mark all spam as spam
-notmuch tag +spam -- folder:spam
+# mark all spam as spam, and as read, for Gnus
+notmuch tag -unread +spam -- folder:spam
-# mark all trash as trash
-notmuch tag +deleted -- folder:trash
+# mark all trash as trash, and as read, for Gnus
+notmuch tag -unread +deleted -- folder:trash