From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: notmuch search --output=files error with AND NOT search terms
Date: Wed, 10 Jul 2013 14:59:11 +0200 [thread overview]
Message-ID: <20130710125911.GA7198@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <1373457313852-4028436.post@n3.nabble.com>
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@www.kikidan.com
Doesn't that confirm Mark's explanation? Notmuch sees multiple files
associated to the same message (identified by the message id).
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2013-07-10 12:59 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 [this message]
2013-07-11 8:39 ` ingo
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=20130710125911.GA7198@kuru.dyndns-at-home.com \
--to=fatkasuvayu+linux@gmail.com \
--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).