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

ingo mail1 at 2b1.de
Thu Jul 11 01:39:20 PDT 2013


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


More information about the notmuch mailing list