From: Sebastian Spaeth <Sebastian@SSpaeth.de>
To: Notmuch developer list <notmuch@notmuchmail.org>
Subject: hint: ignoring threads
Date: Tue, 23 Nov 2010 16:47:13 +0100 [thread overview]
Message-ID: <87lj4kavpa.fsf@SSpaeth.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 813 bytes --]
I like to ignore annoying threads, but notmuch has not easy way to
achieve it, right? Well, it actually has...
1) ok, in notmuch-show I read a message, decide the thread is uninteresting
(or annoying) and tag that message as "ignore".
2) Adding "and not tag:ignore in my saved searches doesn't help as there
are still messages without tag ignore, so notmuch search will still show
the threads. So I run this now after notmuch new: TADAA...
notmuch tag +ignore -- not tag:ignore and `notmuch search
--output=threads tag:ignore`
It seems to work, afterwords all messages in a thread where at least one
message was tagges "ignore" will be tagged "ignore" and my saved
searches suppress them.
Just wanted to share this tidbit as I can imagine plenty of usecases
where a similar scheme could be handy.
Sebastian
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2010-11-23 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 15:47 Sebastian Spaeth [this message]
2010-11-24 21:21 ` hint: ignoring threads Michal Sojka
2010-11-24 22:02 ` Xavier Maillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lj4kavpa.fsf@SSpaeth.de \
--to=sebastian@sspaeth.de \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).