From: David Bremner <david@tethera.net>
To: Brian May <brian@linuxpenguins.xyz>, notmuch@notmuchmail.org
Subject: Re: searching for multiple tags
Date: Sat, 17 Mar 2018 20:06:17 -0300 [thread overview]
Message-ID: <87lgeqmhee.fsf@tethera.net> (raw)
In-Reply-To: <87d102nzrl.fsf@silverfish.pri>
Brian May <brian@linuxpenguins.xyz> writes:
> David Bremner <david@tethera.net> writes:
>
>> This is a design-choice/quirk of the Xapian query parser, discussed
>> under "Operators" in man notmuch-search-terms; terms with a common
>> prefix are implicitely combined with an OR.
>> I don't think that documentation has changed since 0.23, but you can
>> compare with https://notmuchmail.org/manpages/notmuch-search-terms-7/
>
> Ok, now I understand that text. Thanks. I tried using "tag:important and
> tag:unread" yesterday, and it didn't work either.
>
> Today I am wondering if maybe I had threads that had some messages
> marked important and some marked unread, but no individual messages
> marked both unread and important. Oh well, maybe this was the real
> reason I was having problems.
You can test that theory with
% notmuch search --output=messages tag:important and tag:unread
There is a patch floating around [1] to support
% notmuch search thread:{tag:important} and thread:{tag:unread}
if that's the query you actually want.
[1] http://mid.mail-archive.com/20171226010305.26579-1-david@tethera.net
next prev parent reply other threads:[~2018-03-17 23:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-17 5:13 searching for multiple tags Brian May
2018-03-17 11:08 ` David Bremner
2018-03-17 21:44 ` Brian May
2018-03-17 23:06 ` David Bremner [this message]
2018-03-18 0:56 ` Brian May
2018-03-18 1:44 ` David Bremner
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=87lgeqmhee.fsf@tethera.net \
--to=david@tethera.net \
--cc=brian@linuxpenguins.xyz \
--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).