[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 3f / b1302155a97b02a2b5327bdb5d4e965ce014b7
1 Return-Path: <m.walters@qmul.ac.uk>\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 1288A431FC7\r
6         for <notmuch@notmuchmail.org>; Wed, 12 Jun 2013 01:49:04 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.098\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id oelC2iUGwudy for <notmuch@notmuchmail.org>;\r
17         Wed, 12 Jun 2013 01:48:56 -0700 (PDT)\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id ECCC1431FBC\r
22         for <notmuch@notmuchmail.org>; Wed, 12 Jun 2013 01:48:55 -0700 (PDT)\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
24         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
25         (envelope-from <m.walters@qmul.ac.uk>)\r
26         id 1UmgjV-00082q-T6; Wed, 12 Jun 2013 09:48:48 +0100\r
27 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
28         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
29         (envelope-from <m.walters@qmul.ac.uk>)\r
30         id 1UmgjV-0000Oa-Ir; Wed, 12 Jun 2013 09:48:45 +0100\r
31 From: Mark Walters <markwalters1009@gmail.com>\r
32 To: Nathan Clapham <nathan@claphams.info>, notmuch@notmuchmail.org\r
33 Subject: Re: Searching with prefix :folder and --output=files\r
34 In-Reply-To: <20130611213424.GA5028@Nathans-MacBook-Air.local>\r
35 References: <20130611213424.GA5028@Nathans-MacBook-Air.local>\r
36 User-Agent: Notmuch/0.15.2+171~ge2f30a2 (http://notmuchmail.org) Emacs/23.4.1\r
37         (i486-pc-linux-gnu)\r
38 Date: Wed, 12 Jun 2013 09:48:44 +0100\r
39 Message-ID: <87k3lz90k3.fsf@qmul.ac.uk>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain; charset=us-ascii\r
42 X-Sender-Host-Address: 93.97.24.31\r
43 X-QM-SPAM-Info: Sender has good ham record.  :)\r
44 X-QM-Body-MD5: 323a1351dffaa825e915be9071b253b9 (of first 20000 bytes)\r
45 X-SpamAssassin-Score: -0.0\r
46 X-SpamAssassin-SpamBar: /\r
47 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
48         determine if it is\r
49         spam. We require at least 5.0 points to mark a message as spam.\r
50         This message scored -0.0 points.\r
51         Summary of the scoring: \r
52         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
53         provider *      (markwalters1009[at]gmail.com)\r
54         * -0.0 AWL AWL: From: address is in the auto white-list\r
55 X-QM-Scan-Virus: ClamAV says the message is clean\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Wed, 12 Jun 2013 08:49:04 -0000\r
69 \r
70 \r
71 Hello\r
72 \r
73 This is the "expected" but, I agree, counter-intuitive result.\r
74 \r
75 First notmuch finds all the *messages* that match your query (ie\r
76 which have an associated filename matching the folder: part of your\r
77 query) and then it returns all filenames for these messages.\r
78 \r
79 I think that notmuch views a message (as determined by a message-id) as\r
80 a single object in its database (it assumes that all copies are\r
81 identical) so fixing this would not be easy.\r
82 \r
83 Best wishes\r
84 \r
85 Mark\r
86 \r
87 \r
88 Nathan Clapham <nathan@claphams.info> writes:\r
89 \r
90 > Hi Everyone, \r
91 >\r
92 > Thanks for notmuch mail, it is a great program!\r
93 >\r
94 > I am having an issue searching with --output=files and the folder prefix.\r
95 >\r
96 > Could you please tell me if I've misunderstood something or perhaps there is \r
97 > something wrong with my setup. Details of 2 examples below:\r
98 >\r
99 > $ notmuch --version\r
100 > notmuch 0.15.2\r
101 >\r
102 > ----\r
103 > 1. Archive folder\r
104 >\r
105 > Archive message #: 1356\r
106 > Directory: $HOME/Mail/Gmail/[Gmail].Archive\r
107 >\r
108 > $ notmuch count folder:Archive\r
109 > 1356\r
110 >\r
111 > $ notmuch search --output=messages folder:Archive | wc -l\r
112 > 1356\r
113 >\r
114 > $ notmuch search --output=files folder:Archive | wc -l\r
115 > 1572\r
116 >\r
117 > I wondered why I was getting more files listed in the last example. It turns out \r
118 > some files are included from other folders. For example:\r
119 >\r
120 > Mail/Gmail/[Gmail].Sent Mail/cur/137075610...28e65ad90fc4f:2,S\r
121 >\r
122 > If I then do this:\r
123 >\r
124 > $ notmuch search --output=files folder:Archive | grep Archive | wc -l\r
125 > 1356\r
126 >\r
127 > I get the correct count again.\r
128 >\r
129 > Different folders have a similar issue:\r
130 >\r
131 > 2. INBOX folder\r
132 >\r
133 > INBOX message #: 87\r
134 > Directory: $HOME/Mail/Gmail/INBOX\r
135 >\r
136 > $ notmuch count folder:INBOX\r
137 > 87\r
138 >\r
139 > $ notmuch search --output=messages folder:INBOX | wc -l\r
140 > 87\r
141 >\r
142 > $ notmuch search --output=files folder:INBOX | wc -l\r
143 > 97\r
144 >\r
145 > This time some messages from Archive are included:\r
146 >\r
147 > Mail/Gmail/[Gmail].Archive/cur/137077654...d7c877e152f72dd5ddbc11f:2,S\r
148 >\r
149 > $ notmuch search --output=files folder:INBOX | grep INBOX | wc -l\r
150 > 87\r
151 > ----\r
152 >\r
153 > I think this illustrates the problem I'm having. Maybe I don't understand how \r
154 > the folder: prefix works? Perhaps it is my folder structure - the inclusion of \r
155 > the imap prefix [Gmail].?? It seems the search is matching the correct messages \r
156 > though, but the output of files includes messages from another folder. \r
157 >\r
158 > Any advice would be appreciated.\r
159 >\r
160 > Thanks,\r
161 > Nathan.\r
162 >\r
163 > _______________________________________________\r
164 > notmuch mailing list\r
165 > notmuch@notmuchmail.org\r
166 > http://notmuchmail.org/mailman/listinfo/notmuch\r