unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: ingo <mail1@2b1.de>
To: notmuch@notmuchmail.org
Subject: Re: notmuch search --output=files    error with AND NOT search terms
Date: Wed, 10 Jul 2013 04:55:13 -0700 (PDT)	[thread overview]
Message-ID: <1373457313852-4028436.post@n3.nabble.com> (raw)
In-Reply-To: <87mwpvd1fp.fsf@qmul.ac.uk>

Mark Walters wrote
> Hi
> 
>> Hi list,
>>
>> I am trying to check for mails, that are tagged differently from their 
>> mailfolder.
>>
>> So I am searching like this, for example:
>>
>>      notmuch search   folder:1_Personal AND NOT tag:1_Personal
>>      thread:0000000000005613   2008-01-15 [1/1] KIKIDAN News; kikidan 
>> news 2008/01: Willkommen im neuen Jahr (inbox to-me)
>>
>> That's OK, but if I want to get the file name of the message, suddenly 
>> get another message, which isn't located in the 1_Personal folder at all.
>>
>>      notmuch search --output=files   folder:1_Personal AND NOT 
>> tag:1_Personal
>> /home/ianus/Mail/ingo-2b1-de/INBOX/cur/1362131239_2.9026.cordraconis,U=33535,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
>> /home/ianus/Mail/ingo-2b1-de/1_Personal/cur/1361052415_0.30588.cordraconis,U=755,FMD5=2bd412d62930ab474a218128a61bdb68:2,S
>>
> 
> 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

How about the nextmost likely cause :-)


Kind regards,

Ingo





--
View this message in context: http://notmuch.198994.n3.nabble.com/notmuch-search-output-files-error-with-AND-NOT-search-terms-tp4028432p4028436.html
Sent from the notmuch mailing list archive at Nabble.com.

  reply	other threads:[~2013-07-10 11:55 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 [this message]
2013-07-10 12:59     ` Suvayu Ali
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=1373457313852-4028436.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).