From dca2a45c19c86bac102424eb62b1130a3c7d086f Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 1 Jun 2022 07:35:52 -0300 Subject: [PATCH] update FAQ entry on tagging threads --- faq.mdwn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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? -- 2.43.0