unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Richard Stanton <rhstanton@berkeley.edu>
To: notmuch@notmuchmail.org
Subject: notmuch-search not excluding excluded tags
Date: Mon, 15 Apr 2024 10:59:00 -0700	[thread overview]
Message-ID: <E0754C81-C3F0-4DD1-BDAA-5287F796F7EC@berkeley.edu> (raw)

I have spam and trash defined as excluded tags for notmuch searches and when I run (at the command line) the command

notmuch search tag:unread

I get a list of unread messages that does *not* include unread spam or trash emails. But when I put the following into my *scratch* buffer and execute it:

(notmuch-search “tag:unread”)

I now get ALL unread messages, including those tagged as spam or trash. Am I missing something?

Thanks.

Richard Stanton
\r

             reply	other threads:[~2024-04-15 18:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 17:59 Richard Stanton [this message]
2024-04-16 14:23 ` notmuch-search not excluding excluded tags David Bremner
2024-04-16 19:00   ` Richard H. Stanton
2024-04-16 22:15     ` Richard H. Stanton
2024-04-16 22:22       ` Richard H. Stanton
2024-04-16 22:40         ` Richard H. Stanton
2024-04-16 22:53           ` Richard H. Stanton
2024-04-17  8:33             ` Richard Stanton
2024-05-20 19:24   ` erik colson
2024-05-21  0:51     ` David Bremner
2024-05-21  8:22       ` erik colson
2024-05-21 13:32         ` David Bremner
2024-05-21 16:22           ` richardhstanton

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=E0754C81-C3F0-4DD1-BDAA-5287F796F7EC@berkeley.edu \
    --to=rhstanton@berkeley.edu \
    --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).