From: ingo <mail1@2b1.de>
To: notmuch@notmuchmail.org
Subject: Re: notmuch search --output=files error with AND NOT search terms
Date: Thu, 11 Jul 2013 01:39:20 -0700 (PDT) [thread overview]
Message-ID: <1373531960691-4028438.post@n3.nabble.com> (raw)
In-Reply-To: <20130710125911.GA7198@kuru.dyndns-at-home.com>
Hi Suvayu,
Suvayu Ali wrote
> Hi Ingo,
>
> On Wed, Jul 10, 2013 at 04:55:13AM -0700, ingo wrote:
>> Mark Walters wrote
>> >
>> > The most likely cause is that these two messagefiles have the same
>> > message-ids (so in notmuch's view are the same message). Try
>> >
>> > notmuch search --output=messages folder:1_Personal AND NOT
>> tag:1_Personal
>> >
>> > If you only see one message-id then notmuch thinks there is a single
>> > message
>> > that matches the search. The way notmuch works is that it first finds
>> > which messages match and then prints the requested information for
>> those
>> > messages. So in this case it finds the matching message(s) then prints
>> > all filenames for those matching messages.
>>
>> Hi Mark,
>>
>> thank you for your answer, actually I only get one single message id, the
>> one I get without using --output=files.
>>
>> notmuch search --output=messages folder:1_Personal AND NOT
>> tag:1_Personal
>> id:
> f76b9be792c46795945e1486ccb2b2ab@.kikidan
>
> Doesn't that confirm Mark's explanation? Notmuch sees multiple files
> associated to the same message (identified by the message id).
Yes, you are right, don't know where I had my head when answering.
And both mails have the same message-id in the message header.
Still, only one of both files really should be found with this search, so
why is the out put different?
Kind regards,
Ingo
--
View this message in context: http://notmuch.198994.n3.nabble.com/notmuch-search-output-files-error-with-AND-NOT-search-terms-tp4028432p4028438.html
Sent from the notmuch mailing list archive at Nabble.com.
next prev parent reply other threads:[~2013-07-11 8:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 13:03 notmuch search --output=files error with AND NOT search terms Ingo Hohmann
2013-07-09 18:37 ` Mark Walters
2013-07-10 11:55 ` ingo
2013-07-10 12:59 ` Suvayu Ali
2013-07-11 8:39 ` ingo [this message]
2013-07-11 11:53 ` Suvayu Ali
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=1373531960691-4028438.post@n3.nabble.com \
--to=mail1@2b1.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).