]> git.cworth.org Git - notmuch-wiki/blobdiff - excluding.mdwn
A news/release-0.18.2.mdwn
[notmuch-wiki] / excluding.mdwn
index 775f3f515825f34a9211a2361f8902ffdcb0439b..b783383264cc4062ee38cfb870ce00e4ca7c8ea1 100644 (file)
@@ -34,7 +34,7 @@ This will find messages from "foo" with the tag "spam", even though
 Notmuch makes it very easy to access the underlying mail files
 associated with specific search terms using the "file" output format
 of notmuch search.  To find all message files associated with the tag
-"foo" rung:
+"foo" run:
 
         $ notmuch search --output=files tag:foo
 
@@ -76,3 +76,12 @@ procedure:
   you can delete them manually with:
 
        $ notmuch search --output=files tag:deleted | xargs -l rm
+
+## <span id="exclude">**killing threads**</span>
+
+In a [[hook|manpages/notmuch-hooks-5]]
+
+    notmuch tag +muted $(notmuch search --output=threads tag:muted)"
+
+New messages in the thread get the muted tag. Make muted an excluded tag.
+To kill a thread, tag it with muted, run notmuch new.