$ notmuch config set search.exclude_tags deleted
-* Add a key binding to your favorite ui to add a "deleted" tag to
- messages that you want to delete. In [[emacs|emacstips]] that might
- be:
-
- (define-key notmuch-show-mode-map "d"
- (lambda ()
- (interactive)
- (notmuch-show-tag "+deleted")))
+* In emacs MUA use keybinding `k d` to add a "deleted" tag to messages
+ that you want to delete.
* And, finally, if you _really_ want the messages purged from disk,
you can delete them manually with:
## <span id="exclude">**killing threads**</span>
-In a [[hook|manpages/notmuch-hooks-5]]
+In a [hook](https://notmuchmail.org/doc/latest/man5/notmuch-hooks.html)
- notmuch tag +muted $(notmuch search --output=threads tag:muted)"
+ 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.
+New messages in the thread get the muted tag. Make muted an excluded tag (see
+above). To kill a thread, tag it with muted, run notmuch new.