1 Return-Path: <mail1@2b1.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1EAB6431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 10 Jul 2013 04:55:25 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.313 tagged_above=-999 required=5
\r
12 tests=[URI_HEX=1.313] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id qYQRb92W2vK8 for <notmuch@notmuchmail.org>;
\r
16 Wed, 10 Jul 2013 04:55:15 -0700 (PDT)
\r
17 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26])
\r
18 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 7C010431FAE
\r
21 for <notmuch@notmuchmail.org>; Wed, 10 Jul 2013 04:55:15 -0700 (PDT)
\r
22 Received: from ben.nabble.com ([192.168.236.152])
\r
23 by sam.nabble.com with esmtp (Exim 4.72)
\r
24 (envelope-from <mail1@2b1.de>) id 1UwszJ-0004lu-SO
\r
25 for notmuch@notmuchmail.org; Wed, 10 Jul 2013 04:55:13 -0700
\r
26 Date: Wed, 10 Jul 2013 04:55:13 -0700 (PDT)
\r
27 From: ingo <mail1@2b1.de>
\r
28 To: notmuch@notmuchmail.org
\r
29 Message-ID: <1373457313852-4028436.post@n3.nabble.com>
\r
30 In-Reply-To: <87mwpvd1fp.fsf@qmul.ac.uk>
\r
31 References: <51DC0A16.5080704@2b1.de> <87mwpvd1fp.fsf@qmul.ac.uk>
\r
32 Subject: Re: notmuch search --output=files error with AND NOT search terms
\r
34 Content-Type: text/plain; charset=us-ascii
\r
35 Content-Transfer-Encoding: 7bit
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.13
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Wed, 10 Jul 2013 11:55:25 -0000
\r
55 >> I am trying to check for mails, that are tagged differently from their
\r
58 >> So I am searching like this, for example:
\r
60 >> notmuch search folder:1_Personal AND NOT tag:1_Personal
\r
61 >> thread:0000000000005613 2008-01-15 [1/1] KIKIDAN News; kikidan
\r
62 >> news 2008/01: Willkommen im neuen Jahr (inbox to-me)
\r
64 >> That's OK, but if I want to get the file name of the message, suddenly
\r
65 >> get another message, which isn't located in the 1_Personal folder at all.
\r
67 >> notmuch search --output=files folder:1_Personal AND NOT
\r
69 >> /home/ianus/Mail/ingo-2b1-de/INBOX/cur/1362131239_2.9026.cordraconis,U=33535,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
\r
70 >> /home/ianus/Mail/ingo-2b1-de/1_Personal/cur/1361052415_0.30588.cordraconis,U=755,FMD5=2bd412d62930ab474a218128a61bdb68:2,S
\r
73 > The most likely cause is that these two messagefiles have the same
\r
74 > message-ids (so in notmuch's view are the same message). Try
\r
76 > notmuch search --output=messages folder:1_Personal AND NOT tag:1_Personal
\r
78 > If you only see one message-id then notmuch thinks there is a single
\r
80 > that matches the search. The way notmuch works is that it first finds
\r
81 > which messages match and then prints the requested information for those
\r
82 > messages. So in this case it finds the matching message(s) then prints
\r
83 > all filenames for those matching messages.
\r
87 thank you for your answer, actually I only get one single message id, the
\r
88 one I get without using --output=files.
\r
90 notmuch search --output=messages folder:1_Personal AND NOT tag:1_Personal
\r
91 id:f76b9be792c46795945e1486ccb2b2ab@www.kikidan.com
\r
93 How about the nextmost likely cause :-)
\r
105 View this message in context: http://notmuch.198994.n3.nabble.com/notmuch-search-output-files-error-with-AND-NOT-search-terms-tp4028432p4028436.html
\r
106 Sent from the notmuch mailing list archive at Nabble.com.
\r