From: "Richard H. Stanton" <rhstanton@berkeley.edu>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: notmuch-search not excluding excluded tags
Date: Tue, 16 Apr 2024 12:00:09 -0700 [thread overview]
Message-ID: <B3303664-2D39-42C4-B9FF-756F3483389F@berkeley.edu> (raw)
In-Reply-To: <87y19de68c.fsf@tethera.net>
Thanks, David.
It all seems to be working fine on my work machine!
I can’t decide if that’s good or bad news… I suspect it’ll take me longer to track down what’s going on than if the behavior were consistent on my two machines.
> On Apr 16, 2024, at 7:23 AM, David Bremner <david@tethera.net> wrote:
>
> Richard Stanton <rhstanton@berkeley.edu> writes:
>
>> 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?
>
> Hi Richard;
>
> As for as I know it _should_ work (modulo the curly quotes being invalid
> syntax). I don't have any real hypothesis for what is going wrong, but a
> few ideas for gather data.
>
> 1) As a start, maybe try evaluating
>
> (notmuch-config-get "search.exclude_tags")
>
> in emacs and make sure it matches the corresponding
>
> notmuch config get search.exclude_tags
>
> 2) If possible, run notmuch with a minimal configuration (i.e. just loading
> notmuch, no personal configuration or other packages). There is a script
> ./devel/try-emacs-mua in the source if you have a self-built notmuch.
\r
next prev parent reply other threads:[~2024-04-16 19:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-15 17:59 notmuch-search not excluding excluded tags Richard Stanton
2024-04-16 14:23 ` David Bremner
2024-04-16 19:00 ` Richard H. Stanton [this message]
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=B3303664-2D39-42C4-B9FF-756F3483389F@berkeley.edu \
--to=rhstanton@berkeley.edu \
--cc=david@tethera.net \
--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).