X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=faq.mdwn;fp=faq.mdwn;h=1bdfa4c3d7ab0e6bebd241b277cfb2ec88f2c4ba;hp=652d33015b4afe427bec0784d36a43c6a3b1b306;hb=dca2a45c19c86bac102424eb62b1130a3c7d086f;hpb=219490b75a85ca18d449168575a0c7538e71612e diff --git a/faq.mdwn b/faq.mdwn index 652d330..1bdfa4c 100644 --- a/faq.mdwn +++ b/faq.mdwn @@ -125,12 +125,14 @@ messages in threads that have at least one message with the muted tag: THREAD_TAGS="muted" for tag in "$THREAD_TAGS"; do - notmuch tag +$tag $(notmuch search --output=threads tag:$tag) + notmuch tag +$tag thread:{tag:$tag} done -You can add other tags to `THREAD_TAGS` as needed. Note that this is one way -only; you need to explicitly remove the tag from all the messages in a thread to -stop it from propagating again. +You can add other tags to `THREAD_TAGS` as needed. Note that this is +one way only; you need to explicitly remove the tag from all the +messages in a thread to stop it from propagating again. See +[notmuch-search-terms](https://notmuchmail.org/doc/latest/man5/notmuch-hooks.html) +for discussion of `thread:{}` queries. ## How can I extract a git patchset for an email thread?