notmuch search --output=files error with AND NOT search terms

Suvayu Ali fatkasuvayu+linux at gmail.com
Wed Jul 10 05:59:11 PDT 2013


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 at 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.


More information about the notmuch mailing list