Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / d3 / e5dc6f2e238674d3cd35e6a3aaac0f057fcc38
1 Return-Path: <markwalters1009@gmail.com>\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 33276429E30\r
6         for <notmuch@notmuchmail.org>; Mon, 19 Mar 2012 08:31:32 -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: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id jZW-fvc2FAQn for <notmuch@notmuchmail.org>;\r
18         Mon, 19 Mar 2012 08:31:14 -0700 (PDT)\r
19 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com\r
20         [209.85.212.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 53345431FDA\r
23         for <notmuch@notmuchmail.org>; Mon, 19 Mar 2012 08:31:14 -0700 (PDT)\r
24 Received: by wibhm17 with SMTP id hm17so3554324wib.2\r
25         for <notmuch@notmuchmail.org>; Mon, 19 Mar 2012 08:31:13 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
28         bh=2FIf6B8R0E486t1m1/w31DSMMM/y3r9Py1wMSio5NT0=;\r
29         b=VTqbU/sL5rVrsmfQLtmTJ726Nqwt8+cAd17uAIBSOQWc4haKy9fUz9sM8yAvCNGqYl\r
30         89ppjCbFJWvGmvLwhrt/txYo5lUwphFhYzNmL1nwm5rJT8cDBl6A5ovl6zjiNxspU4Td\r
31         8PYrBsTEZMENZ9H1MTmwqkQxafEaggseXWnfJaQ2Hyq4Qh1uJVXRBcyGP7dMQKRIe2zp\r
32         6EJnYHHBLnlci7ScH2ewVRiooFCXLWIlkzbqsBuK8d2WxrIoHAZxvj7pTV6qoYudfixL\r
33         6wqzL/78od4+z92G6UwR5sGl5cwELJqVhQ8xKcUgtoU/rvHQhVhW4py/pd49gNRrz9/u\r
34         Tm2g==\r
35 Received: by 10.216.194.81 with SMTP id l59mr6778788wen.42.1332171072526;\r
36         Mon, 19 Mar 2012 08:31:12 -0700 (PDT)\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
38  [94.192.233.223])      by mx.google.com with ESMTPS id\r
39  fn2sm29318498wib.0.2012.03.19.08.31.04 (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Mon, 19 Mar 2012 08:31:06 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 1/2] test: show expected output files\r
44 Date: Mon, 19 Mar 2012 15:31:00 +0000\r
45 Message-Id: <1332171061-27983-2-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 In-Reply-To: <1332171061-27983-1-git-send-email-markwalters1009@gmail.com>\r
48 References: <1332171061-27983-1-git-send-email-markwalters1009@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Mon, 19 Mar 2012 15:31:32 -0000\r
62 \r
63 ---\r
64  .../single-thread-and-query-entire-thread-json     |  164 +++++++\r
65  .../single-thread-and-query-entire-thread-mbox     |  459 ++++++++++++++++++++\r
66  .../single-thread-and-query-entire-thread-text     |  278 ++++++++++++\r
67  .../single-thread-and-query-json                   |  164 +++++++\r
68  .../single-thread-and-query-mbox                   |   39 ++\r
69  .../single-thread-and-query-text                   |   42 ++\r
70  test/show.expected-output/single-thread-json       |  164 +++++++\r
71  test/show.expected-output/single-thread-mbox       |  459 ++++++++++++++++++++\r
72  test/show.expected-output/single-thread-text       |  278 ++++++++++++\r
73  9 files changed, 2047 insertions(+), 0 deletions(-)\r
74  create mode 100644 test/show.expected-output/single-thread-and-query-entire-thread-json\r
75  create mode 100644 test/show.expected-output/single-thread-and-query-entire-thread-mbox\r
76  create mode 100644 test/show.expected-output/single-thread-and-query-entire-thread-text\r
77  create mode 100644 test/show.expected-output/single-thread-and-query-json\r
78  create mode 100644 test/show.expected-output/single-thread-and-query-mbox\r
79  create mode 100644 test/show.expected-output/single-thread-and-query-text\r
80  create mode 100644 test/show.expected-output/single-thread-json\r
81  create mode 100644 test/show.expected-output/single-thread-mbox\r
82  create mode 100644 test/show.expected-output/single-thread-text\r
83 \r
84 diff --git a/test/show.expected-output/single-thread-and-query-entire-thread-json b/test/show.expected-output/single-thread-and-query-entire-thread-json\r
85 new file mode 100644\r
86 index 0000000..290858b\r
87 --- /dev/null\r
88 +++ b/test/show.expected-output/single-thread-and-query-entire-thread-json\r
89 @@ -0,0 +1,164 @@\r
90 +[[[{"id": "XXXXX",\r
91 + "match": false,\r
92 + "excluded": false,\r
93 + "filename": "YYYYY",\r
94 + "timestamp": 1258484454,\r
95 + "date_relative": "2009-11-17",\r
96 + "tags": ["inbox","signed","unread"],\r
97 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
98 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
99 + "To": "notmuch@notmuchmail.org",\r
100 + "Date": "Tue,\r
101 + 17 Nov 2009 14:00:54 -0500"},\r
102 + "body": [{"id": 1,\r
103 + "content-type": "multipart/mixed",\r
104 + "content": [{"id": 2,\r
105 + "content-type": "multipart/signed",\r
106 + "content": [{"id": 3,\r
107 + "content-type": "text/plain",\r
108 + "content": "I saw the LWN article and decided to take a look at notmuch.  I'm\ncurrently using mutt and mairix to index and read a collection of\nMaildir mail folders (around 40,000 messages total).\n\nnotmuch indexed the messages without complaint,\r
109 + but my attempt at\nsearching bombed out. Running,\r
110 + for example:\n\n  notmuch search storage\n\nResulted in 4604 lines of errors along the lines of:\n\n  Error opening\n  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n  Too many open files\n\nI'm curious if this is expected behavior (i.e.,\r
111 + notmuch does not work\nwith Maildir) or if something else is going on.\n\nCheers,\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
112 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
113 + {"id": 4,\r
114 + "content-type": "application/pgp-signature"}]},\r
115 + {"id": 5,\r
116 + "content-type": "text/plain",\r
117 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
118 + [[{"id": "XXXXX",\r
119 + "match": false,\r
120 + "excluded": false,\r
121 + "filename": "YYYYY",\r
122 + "timestamp": 1258484558,\r
123 + "date_relative": "2009-11-17",\r
124 + "tags": ["inbox","signed","unread"],\r
125 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
126 + "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
127 + "To": "notmuch@notmuchmail.org",\r
128 + "Date": "Wed,\r
129 + 18 Nov 2009 01:02:38 +0600"},\r
130 + "body": [{"id": 1,\r
131 + "content-type": "multipart/mixed",\r
132 + "content": [{"id": 2,\r
133 + "content-type": "multipart/signed",\r
134 + "content": [{"id": 3,\r
135 + "content-type": "text/plain",\r
136 + "content": "\nTwas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\n\n LK> Resulted in 4604 lines of errors along the lines of:\n\n LK>   Error opening\n LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n LK>   Too many open files\n\nSee the patch just posted here.\n\n-- \n  http://fossarchy.blogspot.com/\n"},\r
137 + {"id": 4,\r
138 + "content-type": "application/pgp-signature"}]},\r
139 + {"id": 5,\r
140 + "content-type": "text/plain",\r
141 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
142 + [[{"id": "XXXXX",\r
143 + "match": false,\r
144 + "excluded": false,\r
145 + "filename": "YYYYY",\r
146 + "timestamp": 1258489981,\r
147 + "date_relative": "2009-11-17",\r
148 + "tags": ["inbox","signed","unread"],\r
149 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
150 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
151 + "To": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
152 + "Cc": "notmuch@notmuchmail.org",\r
153 + "Date": "Tue,\r
154 + 17 Nov 2009 15:33:01 -0500"},\r
155 + "body": [{"id": 1,\r
156 + "content-type": "multipart/mixed",\r
157 + "content": [{"id": 2,\r
158 + "content-type": "multipart/signed",\r
159 + "content": [{"id": 3,\r
160 + "content-type": "text/plain",\r
161 + "content": "> See the patch just posted here.\n\nIs the list archived anywhere?  The obvious archives\n(http://notmuchmail.org/pipermail/notmuch/) aren't available,\r
162 + and I\nthink I subscribed too late to get the patch (I only just saw the\ndiscussion about it).\n\nIt doesn't look like the patch is in git yet.\n\n-- Lars\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
163 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
164 + {"id": 4,\r
165 + "content-type": "application/pgp-signature"}]},\r
166 + {"id": 5,\r
167 + "content-type": "text/plain",\r
168 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
169 + [[{"id": "XXXXX",\r
170 + "match": false,\r
171 + "excluded": false,\r
172 + "filename": "YYYYY",\r
173 + "timestamp": 1258491048,\r
174 + "date_relative": "2009-11-17",\r
175 + "tags": ["inbox","unread"],\r
176 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
177 + "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
178 + "To": "notmuch@notmuchmail.org",\r
179 + "Date": "Wed,\r
180 + 18 Nov 2009 02:50:48 +0600"},\r
181 + "body": [{"id": 1,\r
182 + "content-type": "text/plain",\r
183 + "content": "\nTwas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\n\n LK> Is the list archived anywhere?  The obvious archives\n LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available,\r
184 + and I\n LK> think I subscribed too late to get the patch (I only just saw the\n LK> discussion about it).\n\n LK> It doesn't look like the patch is in git yet.\n\nJust has been pushed\n\n-- \n  http://fossarchy.blogspot.com/\n-------------- next part --------------\nA non-text attachment was scrubbed...\nName: not available\nType: application/pgp-signature\nSize: 834 bytes\nDesc: not available\nURL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\n\n"}]},\r
185 + []],\r
186 + [{"id": "XXXXX",\r
187 + "match": false,\r
188 + "excluded": false,\r
189 + "filename": "YYYYY",\r
190 + "timestamp": 1258493053,\r
191 + "date_relative": "2009-11-17",\r
192 + "tags": ["inbox","unread"],\r
193 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
194 + "From": "Keith Packard <keithp@keithp.com>",\r
195 + "To": "notmuch@notmuchmail.org",\r
196 + "Date": "Tue,\r
197 + 17 Nov 2009 13:24:13 -0800"},\r
198 + "body": [{"id": 1,\r
199 + "content-type": "text/plain",\r
200 + "content": "On Tue,\r
201 + 17 Nov 2009 15:33:01 -0500,\r
202 + Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\n> > See the patch just posted here.\n\nI've also pushed a slightly more complicated (and complete) fix to my\nprivate notmuch repository\n\ngit://keithp.com/git/notmuch\n\n> Is the list archived anywhere?\n\nOops. Looks like Carl's mail server is broken. He's traveling to\nBarcelona today and so it won't get fixed for a while.\n\nThanks to everyone for trying out notmuch!\n\n-keith\n\n"}]},\r
203 + [[{"id": "XXXXX",\r
204 + "match": false,\r
205 + "excluded": false,\r
206 + "filename": "YYYYY",\r
207 + "timestamp": 1258505440,\r
208 + "date_relative": "2009-11-18",\r
209 + "tags": ["inbox","signed","unread"],\r
210 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
211 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
212 + "To": "Keith Packard <keithp@keithp.com>",\r
213 + "Cc": "notmuch@notmuchmail.org",\r
214 + "Date": "Tue,\r
215 + 17 Nov 2009 19:50:40 -0500"},\r
216 + "body": [{"id": 1,\r
217 + "content-type": "multipart/mixed",\r
218 + "content": [{"id": 2,\r
219 + "content-type": "multipart/signed",\r
220 + "content": [{"id": 3,\r
221 + "content-type": "text/plain",\r
222 + "content": "> I've also pushed a slightly more complicated (and complete) fix to my\n> private notmuch repository\n\nThe version of lib/messages.cc in your repo doesn't build because it's\nmissing \"#include <stdint.h>\" (for the uint32_t on line 466).\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
223 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
224 + {"id": 4,\r
225 + "content-type": "application/pgp-signature"}]},\r
226 + {"id": 5,\r
227 + "content-type": "text/plain",\r
228 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
229 + []]]]]]]],\r
230 + [{"id": "XXXXX",\r
231 + "match": true,\r
232 + "excluded": false,\r
233 + "filename": "YYYYY",\r
234 + "timestamp": 1258538890,\r
235 + "date_relative": "2009-11-18",\r
236 + "tags": ["inbox","unread"],\r
237 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
238 + "From": "Carl Worth <cworth@cworth.org>",\r
239 + "To": "notmuch@notmuchmail.org",\r
240 + "Date": "Wed,\r
241 + 18 Nov 2009 02:08:10 -0800"},\r
242 + "body": [{"id": 1,\r
243 + "content-type": "text/plain",\r
244 + "content": "On Tue,\r
245 + 17 Nov 2009 14:00:54 -0500,\r
246 + Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\n> I saw the LWN article and decided to take a look at notmuch.  I'm\n> currently using mutt and mairix to index and read a collection of\n> Maildir mail folders (around 40,000 messages total).\n\nWelcome,\r
247 + Lars!\n\nI hadn't even seen that Keith's blog post had been picked up by lwn.net.\nThat's very interesting. So,\r
248 + thanks for coming and trying out notmuch.\n\n>   Error opening\n>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n>   Too many open files\n\nSadly,\r
249 + the lwn article coincided with me having just introduced this\nbug,\r
250 + and then getting on a Trans-Atlantic flight. So I fixed the bug\nfairly quickly,\r
251 + but there was quite a bit of latency before I could push\nthe fix out. It should be fixed now.\n\n> I'm curious if this is expected behavior (i.e.,\r
252 + notmuch does not work\n> with Maildir) or if something else is going on.\n\nNotmuch works just fine with maildir---it's one of the things that it\nlikes the best.\n\nHappy hacking,\n\n-Carl\n\n"}]},\r
253 + []]]]]]\r
254 \ No newline at end of file\r
255 diff --git a/test/show.expected-output/single-thread-and-query-entire-thread-mbox b/test/show.expected-output/single-thread-and-query-entire-thread-mbox\r
256 new file mode 100644\r
257 index 0000000..dd9e0d4\r
258 --- /dev/null\r
259 +++ b/test/show.expected-output/single-thread-and-query-entire-thread-mbox\r
260 @@ -0,0 +1,459 @@\r
261 +From lars@seas.harvard.edu Tue Nov 17 19:00:54 2009\r
262 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
263 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
264 +To: notmuch@notmuchmail.org\r
265 +Message-ID: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
266 +MIME-Version: 1.0\r
267 +User-Agent: Mutt/1.5.19 (2009-01-05)\r
268 +Subject: [notmuch] Working with Maildir storage?\r
269 +X-BeenThere: notmuch@notmuchmail.org\r
270 +X-Mailman-Version: 2.1.12\r
271 +Precedence: list\r
272 +List-Id: "Use and development of the notmuch mail system."\r
273 +       <notmuch.notmuchmail.org>\r
274 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
275 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
276 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
277 +List-Post: <mailto:notmuch@notmuchmail.org>\r
278 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
279 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
280 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
281 +Content-Type: multipart/mixed; boundary="===============1685355122=="\r
282 +Sender: notmuch-bounces@notmuchmail.org\r
283 +Errors-To: notmuch-bounces@notmuchmail.org\r
284 +\r
285 +\r
286 +--===============1685355122==\r
287 +Content-Type: multipart/signed; micalg=pgp-sha256;\r
288 +       protocol="application/pgp-signature"; boundary="5Dr6Wqe9hdyl7LAI"\r
289 +Content-Disposition: inline\r
290 +\r
291 +\r
292 +--5Dr6Wqe9hdyl7LAI\r
293 +Content-Type: text/plain; charset=us-ascii\r
294 +Content-Disposition: inline\r
295 +Content-Transfer-Encoding: quoted-printable\r
296 +\r
297 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
298 +currently using mutt and mairix to index and read a collection of\r
299 +Maildir mail folders (around 40,000 messages total).\r
300 +\r
301 +notmuch indexed the messages without complaint, but my attempt at\r
302 +searching bombed out. Running, for example:\r
303 +\r
304 +  notmuch search storage\r
305 +\r
306 +Resulted in 4604 lines of errors along the lines of:\r
307 +\r
308 +  Error opening\r
309 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=\r
310 +=3D3026:2,S:\r
311 +  Too many open files\r
312 +\r
313 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
314 +with Maildir) or if something else is going on.\r
315 +\r
316 +Cheers,\r
317 +\r
318 +--=20\r
319 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
320 +Senior Technologist, Computing and Information Technology\r
321 +Harvard University School of Engineering and Applied Sciences\r
322 +\r
323 +\r
324 +--5Dr6Wqe9hdyl7LAI\r
325 +Content-Type: application/pgp-signature\r
326 +Content-Disposition: inline\r
327 +\r
328 +-----BEGIN PGP SIGNATURE-----\r
329 +Version: GnuPG v1.4.9 (GNU/Linux)\r
330 +\r
331 +iQEcBAEBCAAGBQJLAvLmAAoJENdGlQYxQazYRtcH/0usClQ1Z+EoTsA+URwIK6hD\r
332 +FsZUxFxRjMuOQRn2idZ/zhhg5jJj11ZaHjqxSkDvi2ywkTKUf1vX9LLzVy5hSR9M\r
333 +E6XQUd5QWAQXo1VsTeKkukIL0YqsPjdgrT8+Yt+OS2NvhEncql23oxnL2/pHkIFq\r
334 +r0NdTmVV5Jcar7w9J6X1Mi9m229a/9jV5FImsWISkIhIWznXU5SiU6zIw8xhP4E0\r
335 +xhvVSNJnFryjVHtva870aSQduhHfeLPzpYhqbkMPvlq+bcz6Q/Q2SwxJcGLNMPHa\r
336 +os9s9FGhCvFKUhVzezHWPgXNCcNT8qK89rcUldb5Oq4jaJb8RCZCYABplfoyaFs=\r
337 +=vO4s\r
338 +-----END PGP SIGNATURE-----\r
339 +\r
340 +--5Dr6Wqe9hdyl7LAI--\r
341 +\r
342 +--===============1685355122==\r
343 +Content-Type: text/plain; charset="us-ascii"\r
344 +MIME-Version: 1.0\r
345 +Content-Transfer-Encoding: 7bit\r
346 +Content-Disposition: inline\r
347 +\r
348 +_______________________________________________\r
349 +notmuch mailing list\r
350 +notmuch@notmuchmail.org\r
351 +http://notmuchmail.org/mailman/listinfo/notmuch\r
352 +\r
353 +--===============1685355122==--\r
354 +\r
355 +\r
356 +From dottedmag@dottedmag.net Tue Nov 17 19:02:38 2009\r
357 +From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
358 +To: notmuch@notmuchmail.org\r
359 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
360 +Date: Wed, 18 Nov 2009 01:02:38 +0600\r
361 +In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu> (Lars\r
362 +       Kellogg-Stedman's message of "Tue, 17 Nov 2009 14:00:54 -0500")\r
363 +Message-ID: <87iqd9rn3l.fsf@vertex.dottedmag>\r
364 +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)\r
365 +MIME-Version: 1.0\r
366 +Subject: Re: [notmuch] Working with Maildir storage?\r
367 +X-BeenThere: notmuch@notmuchmail.org\r
368 +X-Mailman-Version: 2.1.12\r
369 +Precedence: list\r
370 +List-Id: "Use and development of the notmuch mail system."\r
371 +       <notmuch.notmuchmail.org>\r
372 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
373 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
374 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
375 +List-Post: <mailto:notmuch@notmuchmail.org>\r
376 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
377 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
378 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
379 +Content-Type: multipart/mixed; boundary="===============1958295626=="\r
380 +Sender: notmuch-bounces@notmuchmail.org\r
381 +Errors-To: notmuch-bounces@notmuchmail.org\r
382 +\r
383 +--===============1958295626==\r
384 +Content-Type: multipart/signed; boundary="=-=-=";\r
385 +       micalg=pgp-sha1; protocol="application/pgp-signature"\r
386 +\r
387 +--=-=-=\r
388 +Content-Transfer-Encoding: quoted-printable\r
389 +\r
390 +\r
391 +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did g=\r
392 +yre and gimble:\r
393 +\r
394 + LK> Resulted in 4604 lines of errors along the lines of:\r
395 +\r
396 + LK>   Error opening\r
397 + LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostna=\r
398 +me,U=3D3026:2,S:\r
399 + LK>   Too many open files\r
400 +\r
401 +See the patch just posted here.\r
402 +\r
403 +=2D-=20\r
404 +  http://fossarchy.blogspot.com/\r
405 +\r
406 +--=-=-=\r
407 +Content-Type: application/pgp-signature\r
408 +\r
409 +-----BEGIN PGP SIGNATURE-----\r
410 +Version: GnuPG v1.4.9 (GNU/Linux)\r
411 +\r
412 +iQIcBAEBAgAGBQJLAvNOAAoJEJ0g9lA+M4iIjLYQAKp0PXEgl3JMOEBisH52AsIK\r
413 +CzzfP4Fzd41K9VH/c1EdQWDYR6FCAA4IUSNICnJhITsYUb0eC5AKJiey3JP0+rmd\r
414 +s4qEFBKH2iuphv8Llltcv2Q8DyPuJBkVa3mO9XCCeABZ6v4UvnTSWRVG12csSEih\r
415 +ScgienU8sMrM9LwvvVI1ZB2flm2TzsH2hWi30jIgmtBntIKJaTgbFXB50FYFwULa\r
416 +gGL/oH3u+YpumedWzPZdCJrw2q7nMvYx8aQ29EDCNLZibAZe+6oDTa6Fv6/0ldpQ\r
417 +U+DptR0nJGbJTWa26OTSvmyeIORjAfM+TEI68n7KO9VHYPmVh6awcf0MNKYh2xWk\r
418 +eRQNBcKyQNWxeKyCCpT/rrTlpxBWahpvg+V8lkDH2W09wjRp6CUKvifK3Sz3am9m\r
419 +5ZUMpvXbwkZD6Ci6l/QytbYK50e8UpvFSu5DBaxBz59ykoypuNg2ayO5Kdi6IF5d\r
420 +T+Sw6wo8UKn9a33+vheIc0fkhZXbeSotEmDm7huazm6CgM3dcWXUpTuJvik1cSWp\r
421 +4buv98gY6IKWKoUTXODWUr+7VR4gei8du8qOsKem+QDfNX7tmaIRjhrbB24B91Wy\r
422 +td3MTJD7GjMNid0INqRY1CRMLo8YlPaq6NBZfcYtYgwa6gpJijz1/MAn8+GMrfhF\r
423 +9LI8b9jopNP+pMYBohLA\r
424 +=/ksP\r
425 +-----END PGP SIGNATURE-----\r
426 +--=-=-=--\r
427 +\r
428 +--===============1958295626==\r
429 +Content-Type: text/plain; charset="us-ascii"\r
430 +MIME-Version: 1.0\r
431 +Content-Transfer-Encoding: 7bit\r
432 +Content-Disposition: inline\r
433 +\r
434 +_______________________________________________\r
435 +notmuch mailing list\r
436 +notmuch@notmuchmail.org\r
437 +http://notmuchmail.org/mailman/listinfo/notmuch\r
438 +\r
439 +--===============1958295626==--\r
440 +\r
441 +\r
442 +From lars@seas.harvard.edu Tue Nov 17 20:33:01 2009\r
443 +Date: Tue, 17 Nov 2009 15:33:01 -0500\r
444 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
445 +To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
446 +Message-ID: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
447 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
448 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
449 +MIME-Version: 1.0\r
450 +In-Reply-To: <87iqd9rn3l.fsf@vertex.dottedmag>\r
451 +User-Agent: Mutt/1.5.19 (2009-01-05)\r
452 +Cc: notmuch@notmuchmail.org\r
453 +Subject: Re: [notmuch] Working with Maildir storage?\r
454 +X-BeenThere: notmuch@notmuchmail.org\r
455 +X-Mailman-Version: 2.1.12\r
456 +Precedence: list\r
457 +List-Id: "Use and development of the notmuch mail system."\r
458 +       <notmuch.notmuchmail.org>\r
459 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
460 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
461 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
462 +List-Post: <mailto:notmuch@notmuchmail.org>\r
463 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
464 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
465 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
466 +Content-Type: multipart/mixed; boundary="===============0063752545=="\r
467 +Sender: notmuch-bounces@notmuchmail.org\r
468 +Errors-To: notmuch-bounces@notmuchmail.org\r
469 +\r
470 +\r
471 +--===============0063752545==\r
472 +Content-Type: multipart/signed; micalg=pgp-sha256;\r
473 +       protocol="application/pgp-signature"; boundary="GGxZz/e2pmGePzrA"\r
474 +Content-Disposition: inline\r
475 +\r
476 +\r
477 +--GGxZz/e2pmGePzrA\r
478 +Content-Type: text/plain; charset=us-ascii\r
479 +Content-Disposition: inline\r
480 +Content-Transfer-Encoding: quoted-printable\r
481 +\r
482 +> See the patch just posted here.\r
483 +\r
484 +Is the list archived anywhere?  The obvious archives\r
485 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
486 +think I subscribed too late to get the patch (I only just saw the\r
487 +discussion about it).\r
488 +\r
489 +It doesn't look like the patch is in git yet.\r
490 +\r
491 +-- Lars\r
492 +\r
493 +--=20\r
494 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
495 +Senior Technologist, Computing and Information Technology\r
496 +Harvard University School of Engineering and Applied Sciences\r
497 +\r
498 +\r
499 +--GGxZz/e2pmGePzrA\r
500 +Content-Type: application/pgp-signature\r
501 +Content-Disposition: inline\r
502 +\r
503 +-----BEGIN PGP SIGNATURE-----\r
504 +Version: GnuPG v1.4.9 (GNU/Linux)\r
505 +\r
506 +iQEcBAEBCAAGBQJLAwh9AAoJENdGlQYxQazYHJMIAI+XTPOyBTZIxEGTdgVKd2fR\r
507 +k27ucKs6lXozfMIIGchNUDXQho+KmiuTfX1XFJeBkqOlhrd9zlGjBGoBM0YBq/Gs\r
508 +aStPdonREzsHORjmyQCCpjg4AcqCRTXFbDXzAeXlxMPOrZ3P0XNPzTEM1mVksbmg\r
509 +mBBDLdHncy4sSCfFgXwRGGgLv9z5Acqm8xGYr68c9PIXY939ozIKV9LVUhxiNz9g\r
510 +We2a9rLDhfwxUqDlGdiNwZZimiKvD/fsYSrBZMDb5HgIYkeNZ4SD8Xu+OgB550wN\r
511 +OFfwGi3o8WFK2AyDe5QJDh9Ub+euPNlVzePoGpkltZEHuCcLFJqCHv5XYpbxcjA=\r
512 +=GO2Q\r
513 +-----END PGP SIGNATURE-----\r
514 +\r
515 +--GGxZz/e2pmGePzrA--\r
516 +\r
517 +--===============0063752545==\r
518 +Content-Type: text/plain; charset="us-ascii"\r
519 +MIME-Version: 1.0\r
520 +Content-Transfer-Encoding: 7bit\r
521 +Content-Disposition: inline\r
522 +\r
523 +_______________________________________________\r
524 +notmuch mailing list\r
525 +notmuch@notmuchmail.org\r
526 +http://notmuchmail.org/mailman/listinfo/notmuch\r
527 +\r
528 +--===============0063752545==--\r
529 +\r
530 +\r
531 +From dottedmag@dottedmag.net Tue Nov 17 20:50:48 2009\r
532 +From: "Mikhail Gusarov" <dottedmag@dottedmag.net>\r
533 +To: notmuch@notmuchmail.org\r
534 +Date: Wed, 18 Nov 2009 02:50:48 +0600\r
535 +Subject: [notmuch] Working with Maildir storage?\r
536 +In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu> (Lars\r
537 +       Kellogg-Stedman's message of "Tue, 17 Nov 2009 15:33:01 -0500")\r
538 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
539 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
540 +       <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
541 +Message-ID: <87fx8can9z.fsf@vertex.dottedmag>\r
542 +\r
543 +\r
544 +Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
545 +\r
546 + LK> Is the list archived anywhere?  The obvious archives\r
547 + LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
548 + LK> think I subscribed too late to get the patch (I only just saw the\r
549 + LK> discussion about it).\r
550 +\r
551 + LK> It doesn't look like the patch is in git yet.\r
552 +\r
553 +Just has been pushed\r
554 +\r
555 +-- \r
556 +  http://fossarchy.blogspot.com/\r
557 +-------------- next part --------------\r
558 +A non-text attachment was scrubbed...\r
559 +Name: not available\r
560 +Type: application/pgp-signature\r
561 +Size: 834 bytes\r
562 +Desc: not available\r
563 +URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
564 +\r
565 +\r
566 +From keithp@keithp.com Tue Nov 17 21:24:13 2009\r
567 +From: "Keith Packard" <keithp@keithp.com>\r
568 +To: notmuch@notmuchmail.org\r
569 +Date: Tue, 17 Nov 2009 13:24:13 -0800\r
570 +Subject: [notmuch] Working with Maildir storage?\r
571 +In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
572 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
573 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
574 +       <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
575 +Message-ID: <yunaayketfm.fsf@aiko.keithp.com>\r
576 +\r
577 +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
578 +> > See the patch just posted here.\r
579 +\r
580 +I've also pushed a slightly more complicated (and complete) fix to my\r
581 +private notmuch repository\r
582 +\r
583 +git://keithp.com/git/notmuch\r
584 +\r
585 +> Is the list archived anywhere?\r
586 +\r
587 +Oops. Looks like Carl's mail server is broken. He's traveling to\r
588 +Barcelona today and so it won't get fixed for a while.\r
589 +\r
590 +Thanks to everyone for trying out notmuch!\r
591 +\r
592 +-keith\r
593 +\r
594 +\r
595 +From lars@seas.harvard.edu Wed Nov 18 00:50:40 2009\r
596 +Date: Tue, 17 Nov 2009 19:50:40 -0500\r
597 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
598 +To: Keith Packard <keithp@keithp.com>\r
599 +Message-ID: <20091118005040.GA25380@dottiness.seas.harvard.edu>\r
600 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
601 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
602 +       <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
603 +       <yunaayketfm.fsf@aiko.keithp.com>\r
604 +MIME-Version: 1.0\r
605 +In-Reply-To: <yunaayketfm.fsf@aiko.keithp.com>\r
606 +User-Agent: Mutt/1.5.19 (2009-01-05)\r
607 +Cc: notmuch@notmuchmail.org\r
608 +Subject: Re: [notmuch] Working with Maildir storage?\r
609 +X-BeenThere: notmuch@notmuchmail.org\r
610 +X-Mailman-Version: 2.1.12\r
611 +Precedence: list\r
612 +List-Id: "Use and development of the notmuch mail system."\r
613 +       <notmuch.notmuchmail.org>\r
614 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
615 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
616 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
617 +List-Post: <mailto:notmuch@notmuchmail.org>\r
618 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
619 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
620 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
621 +Content-Type: multipart/mixed; boundary="===============1483126515=="\r
622 +Sender: notmuch-bounces@notmuchmail.org\r
623 +Errors-To: notmuch-bounces@notmuchmail.org\r
624 +\r
625 +\r
626 +--===============1483126515==\r
627 +Content-Type: multipart/signed; micalg=pgp-sha256;\r
628 +       protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj"\r
629 +Content-Disposition: inline\r
630 +\r
631 +\r
632 +--9amGYk9869ThD9tj\r
633 +Content-Type: text/plain; charset=us-ascii\r
634 +Content-Disposition: inline\r
635 +Content-Transfer-Encoding: quoted-printable\r
636 +\r
637 +> I've also pushed a slightly more complicated (and complete) fix to my\r
638 +> private notmuch repository\r
639 +\r
640 +The version of lib/messages.cc in your repo doesn't build because it's\r
641 +missing "#include <stdint.h>" (for the uint32_t on line 466).\r
642 +\r
643 +--=20\r
644 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
645 +Senior Technologist, Computing and Information Technology\r
646 +Harvard University School of Engineering and Applied Sciences\r
647 +\r
648 +\r
649 +--9amGYk9869ThD9tj\r
650 +Content-Type: application/pgp-signature\r
651 +Content-Disposition: inline\r
652 +\r
653 +-----BEGIN PGP SIGNATURE-----\r
654 +Version: GnuPG v1.4.9 (GNU/Linux)\r
655 +\r
656 +iQEcBAEBCAAGBQJLA0TgAAoJENdGlQYxQazYsG0IAJ1t9h4Q3ma8z8ejeKR22Xh0\r
657 +WcuRX2x9yEXy/+aG9W7Mot0mqUQCiLdmHM/2h5N9BFHyJvfOUf8lmssrJ5OS/kp5\r
658 +j7FIx3GUELBmEZqFUPjRSQPk1hZURYdRsloKkrbQ2kAivjjb50zAAQ8Av4Cgj6cS\r
659 +3HvNNmeVfJt1NS75vm+/wn48M8Vrcdv4gvNlSOhgFOixknvRoxSyNDOHYBKvHnSV\r
660 +2HnO0GzhAQzDZAwdHBzJtb8vRmglrH33TVdrE7OW+sojYB3Wyz8r9+HIt8Q8ovzX\r
661 +nQ8p0Nf5DlF7tye3JYo0EeNm5EQJ4q0YyVYInhmtpi3A5Cyu50GcB/GZ5Sd6ajo=\r
662 +=WULe\r
663 +-----END PGP SIGNATURE-----\r
664 +\r
665 +--9amGYk9869ThD9tj--\r
666 +\r
667 +--===============1483126515==\r
668 +Content-Type: text/plain; charset="us-ascii"\r
669 +MIME-Version: 1.0\r
670 +Content-Transfer-Encoding: 7bit\r
671 +Content-Disposition: inline\r
672 +\r
673 +_______________________________________________\r
674 +notmuch mailing list\r
675 +notmuch@notmuchmail.org\r
676 +http://notmuchmail.org/mailman/listinfo/notmuch\r
677 +\r
678 +--===============1483126515==--\r
679 +\r
680 +\r
681 +From cworth@cworth.org Wed Nov 18 10:08:10 2009\r
682 +From: "Carl Worth" <cworth@cworth.org>\r
683 +To: notmuch@notmuchmail.org\r
684 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
685 +Subject: [notmuch] Working with Maildir storage?\r
686 +In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
687 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
688 +Message-ID: <87ocn0qh6d.fsf@yoom.home.cworth.org>\r
689 +\r
690 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
691 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
692 +> currently using mutt and mairix to index and read a collection of\r
693 +> Maildir mail folders (around 40,000 messages total).\r
694 +\r
695 +Welcome, Lars!\r
696 +\r
697 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
698 +That's very interesting. So, thanks for coming and trying out notmuch.\r
699 +\r
700 +>   Error opening\r
701 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
702 +>   Too many open files\r
703 +\r
704 +Sadly, the lwn article coincided with me having just introduced this\r
705 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
706 +fairly quickly, but there was quite a bit of latency before I could push\r
707 +the fix out. It should be fixed now.\r
708 +\r
709 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
710 +> with Maildir) or if something else is going on.\r
711 +\r
712 +Notmuch works just fine with maildir---it's one of the things that it\r
713 +likes the best.\r
714 +\r
715 +Happy hacking,\r
716 +\r
717 +-Carl\r
718 +\r
719 +\r
720 diff --git a/test/show.expected-output/single-thread-and-query-entire-thread-text b/test/show.expected-output/single-thread-and-query-entire-thread-text\r
721 new file mode 100644\r
722 index 0000000..c186ef7\r
723 --- /dev/null\r
724 +++ b/test/show.expected-output/single-thread-and-query-entire-thread-text\r
725 @@ -0,0 +1,278 @@\r
726 +\f\r
727 message{ id:20091117190054.GU3165@dottiness.seas.harvard.edu depth:0 match:0 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/03:2,\r
728 +\f\r
729 header{\r
730 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
731 +Subject: [notmuch] Working with Maildir storage?\r
732 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
733 +To: notmuch@notmuchmail.org\r
734 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
735 +\f\r
736 header}\r
737 +\f\r
738 body{\r
739 +\f\r
740 part{ ID: 1, Content-type: multipart/mixed\r
741 +\f\r
742 part{ ID: 2, Content-type: multipart/signed\r
743 +\f\r
744 part{ ID: 3, Content-type: text/plain\r
745 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
746 +currently using mutt and mairix to index and read a collection of\r
747 +Maildir mail folders (around 40,000 messages total).\r
748 +\r
749 +notmuch indexed the messages without complaint, but my attempt at\r
750 +searching bombed out. Running, for example:\r
751 +\r
752 +  notmuch search storage\r
753 +\r
754 +Resulted in 4604 lines of errors along the lines of:\r
755 +\r
756 +  Error opening\r
757 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
758 +  Too many open files\r
759 +\r
760 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
761 +with Maildir) or if something else is going on.\r
762 +\r
763 +Cheers,\r
764 +\r
765 +-- \r
766 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
767 +Senior Technologist, Computing and Information Technology\r
768 +Harvard University School of Engineering and Applied Sciences\r
769 +\r
770 +\f\r
771 part}\r
772 +\f\r
773 part{ ID: 4, Content-type: application/pgp-signature\r
774 +Non-text part: application/pgp-signature\r
775 +\f\r
776 part}\r
777 +\f\r
778 part}\r
779 +\f\r
780 part{ ID: 5, Content-type: text/plain\r
781 +_______________________________________________\r
782 +notmuch mailing list\r
783 +notmuch@notmuchmail.org\r
784 +http://notmuchmail.org/mailman/listinfo/notmuch\r
785 +\f\r
786 part}\r
787 +\f\r
788 part}\r
789 +\f\r
790 body}\r
791 +\f\r
792 message}\r
793 +\f\r
794 message{ id:87iqd9rn3l.fsf@vertex.dottedmag depth:1 match:0 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/04:2,\r
795 +\f\r
796 header{\r
797 +Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)\r
798 +Subject: Re: [notmuch] Working with Maildir storage?\r
799 +From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
800 +To: notmuch@notmuchmail.org\r
801 +Date: Wed, 18 Nov 2009 01:02:38 +0600\r
802 +\f\r
803 header}\r
804 +\f\r
805 body{\r
806 +\f\r
807 part{ ID: 1, Content-type: multipart/mixed\r
808 +\f\r
809 part{ ID: 2, Content-type: multipart/signed\r
810 +\f\r
811 part{ ID: 3, Content-type: text/plain\r
812 +\r
813 +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\r
814 +\r
815 + LK> Resulted in 4604 lines of errors along the lines of:\r
816 +\r
817 + LK>   Error opening\r
818 + LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
819 + LK>   Too many open files\r
820 +\r
821 +See the patch just posted here.\r
822 +\r
823 +-- \r
824 +  http://fossarchy.blogspot.com/\r
825 +\f\r
826 part}\r
827 +\f\r
828 part{ ID: 4, Content-type: application/pgp-signature\r
829 +Non-text part: application/pgp-signature\r
830 +\f\r
831 part}\r
832 +\f\r
833 part}\r
834 +\f\r
835 part{ ID: 5, Content-type: text/plain\r
836 +_______________________________________________\r
837 +notmuch mailing list\r
838 +notmuch@notmuchmail.org\r
839 +http://notmuchmail.org/mailman/listinfo/notmuch\r
840 +\f\r
841 part}\r
842 +\f\r
843 part}\r
844 +\f\r
845 body}\r
846 +\f\r
847 message}\r
848 +\f\r
849 message{ id:20091117203301.GV3165@dottiness.seas.harvard.edu depth:2 match:0 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/08:2,\r
850 +\f\r
851 header{\r
852 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
853 +Subject: Re: [notmuch] Working with Maildir storage?\r
854 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
855 +To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
856 +Cc: notmuch@notmuchmail.org\r
857 +Date: Tue, 17 Nov 2009 15:33:01 -0500\r
858 +\f\r
859 header}\r
860 +\f\r
861 body{\r
862 +\f\r
863 part{ ID: 1, Content-type: multipart/mixed\r
864 +\f\r
865 part{ ID: 2, Content-type: multipart/signed\r
866 +\f\r
867 part{ ID: 3, Content-type: text/plain\r
868 +> See the patch just posted here.\r
869 +\r
870 +Is the list archived anywhere?  The obvious archives\r
871 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
872 +think I subscribed too late to get the patch (I only just saw the\r
873 +discussion about it).\r
874 +\r
875 +It doesn't look like the patch is in git yet.\r
876 +\r
877 +-- Lars\r
878 +\r
879 +-- \r
880 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
881 +Senior Technologist, Computing and Information Technology\r
882 +Harvard University School of Engineering and Applied Sciences\r
883 +\r
884 +\f\r
885 part}\r
886 +\f\r
887 part{ ID: 4, Content-type: application/pgp-signature\r
888 +Non-text part: application/pgp-signature\r
889 +\f\r
890 part}\r
891 +\f\r
892 part}\r
893 +\f\r
894 part{ ID: 5, Content-type: text/plain\r
895 +_______________________________________________\r
896 +notmuch mailing list\r
897 +notmuch@notmuchmail.org\r
898 +http://notmuchmail.org/mailman/listinfo/notmuch\r
899 +\f\r
900 part}\r
901 +\f\r
902 part}\r
903 +\f\r
904 body}\r
905 +\f\r
906 message}\r
907 +\f\r
908 message{ id:87fx8can9z.fsf@vertex.dottedmag depth:3 match:0 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/09:2,\r
909 +\f\r
910 header{\r
911 +"Mikhail Gusarov" <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)\r
912 +Subject: [notmuch] Working with Maildir storage?\r
913 +From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
914 +To: notmuch@notmuchmail.org\r
915 +Date: Wed, 18 Nov 2009 02:50:48 +0600\r
916 +\f\r
917 header}\r
918 +\f\r
919 body{\r
920 +\f\r
921 part{ ID: 1, Content-type: text/plain\r
922 +\r
923 +Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
924 +\r
925 + LK> Is the list archived anywhere?  The obvious archives\r
926 + LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
927 + LK> think I subscribed too late to get the patch (I only just saw the\r
928 + LK> discussion about it).\r
929 +\r
930 + LK> It doesn't look like the patch is in git yet.\r
931 +\r
932 +Just has been pushed\r
933 +\r
934 +-- \r
935 +  http://fossarchy.blogspot.com/\r
936 +-------------- next part --------------\r
937 +A non-text attachment was scrubbed...\r
938 +Name: not available\r
939 +Type: application/pgp-signature\r
940 +Size: 834 bytes\r
941 +Desc: not available\r
942 +URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
943 +\r
944 +\f\r
945 part}\r
946 +\f\r
947 body}\r
948 +\f\r
949 message}\r
950 +\f\r
951 message{ id:yunaayketfm.fsf@aiko.keithp.com depth:3 match:0 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/12:2,\r
952 +\f\r
953 header{\r
954 +"Keith Packard" <keithp@keithp.com> (2009-11-17) (inbox unread)\r
955 +Subject: [notmuch] Working with Maildir storage?\r
956 +From: Keith Packard <keithp@keithp.com>\r
957 +To: notmuch@notmuchmail.org\r
958 +Date: Tue, 17 Nov 2009 13:24:13 -0800\r
959 +\f\r
960 header}\r
961 +\f\r
962 body{\r
963 +\f\r
964 part{ ID: 1, Content-type: text/plain\r
965 +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
966 +> > See the patch just posted here.\r
967 +\r
968 +I've also pushed a slightly more complicated (and complete) fix to my\r
969 +private notmuch repository\r
970 +\r
971 +git://keithp.com/git/notmuch\r
972 +\r
973 +> Is the list archived anywhere?\r
974 +\r
975 +Oops. Looks like Carl's mail server is broken. He's traveling to\r
976 +Barcelona today and so it won't get fixed for a while.\r
977 +\r
978 +Thanks to everyone for trying out notmuch!\r
979 +\r
980 +-keith\r
981 +\r
982 +\f\r
983 part}\r
984 +\f\r
985 body}\r
986 +\f\r
987 message}\r
988 +\f\r
989 message{ id:20091118005040.GA25380@dottiness.seas.harvard.edu depth:4 match:0 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/22:2,\r
990 +\f\r
991 header{\r
992 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)\r
993 +Subject: Re: [notmuch] Working with Maildir storage?\r
994 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
995 +To: Keith Packard <keithp@keithp.com>\r
996 +Cc: notmuch@notmuchmail.org\r
997 +Date: Tue, 17 Nov 2009 19:50:40 -0500\r
998 +\f\r
999 header}\r
1000 +\f\r
1001 body{\r
1002 +\f\r
1003 part{ ID: 1, Content-type: multipart/mixed\r
1004 +\f\r
1005 part{ ID: 2, Content-type: multipart/signed\r
1006 +\f\r
1007 part{ ID: 3, Content-type: text/plain\r
1008 +> I've also pushed a slightly more complicated (and complete) fix to my\r
1009 +> private notmuch repository\r
1010 +\r
1011 +The version of lib/messages.cc in your repo doesn't build because it's\r
1012 +missing "#include <stdint.h>" (for the uint32_t on line 466).\r
1013 +\r
1014 +-- \r
1015 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1016 +Senior Technologist, Computing and Information Technology\r
1017 +Harvard University School of Engineering and Applied Sciences\r
1018 +\r
1019 +\f\r
1020 part}\r
1021 +\f\r
1022 part{ ID: 4, Content-type: application/pgp-signature\r
1023 +Non-text part: application/pgp-signature\r
1024 +\f\r
1025 part}\r
1026 +\f\r
1027 part}\r
1028 +\f\r
1029 part{ ID: 5, Content-type: text/plain\r
1030 +_______________________________________________\r
1031 +notmuch mailing list\r
1032 +notmuch@notmuchmail.org\r
1033 +http://notmuchmail.org/mailman/listinfo/notmuch\r
1034 +\f\r
1035 part}\r
1036 +\f\r
1037 part}\r
1038 +\f\r
1039 body}\r
1040 +\f\r
1041 message}\r
1042 +\f\r
1043 message{ id:87ocn0qh6d.fsf@yoom.home.cworth.org depth:1 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/41:2,\r
1044 +\f\r
1045 header{\r
1046 +"Carl Worth" <cworth@cworth.org> (2009-11-18) (inbox unread)\r
1047 +Subject: [notmuch] Working with Maildir storage?\r
1048 +From: Carl Worth <cworth@cworth.org>\r
1049 +To: notmuch@notmuchmail.org\r
1050 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
1051 +\f\r
1052 header}\r
1053 +\f\r
1054 body{\r
1055 +\f\r
1056 part{ ID: 1, Content-type: text/plain\r
1057 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
1058 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
1059 +> currently using mutt and mairix to index and read a collection of\r
1060 +> Maildir mail folders (around 40,000 messages total).\r
1061 +\r
1062 +Welcome, Lars!\r
1063 +\r
1064 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
1065 +That's very interesting. So, thanks for coming and trying out notmuch.\r
1066 +\r
1067 +>   Error opening\r
1068 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
1069 +>   Too many open files\r
1070 +\r
1071 +Sadly, the lwn article coincided with me having just introduced this\r
1072 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
1073 +fairly quickly, but there was quite a bit of latency before I could push\r
1074 +the fix out. It should be fixed now.\r
1075 +\r
1076 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
1077 +> with Maildir) or if something else is going on.\r
1078 +\r
1079 +Notmuch works just fine with maildir---it's one of the things that it\r
1080 +likes the best.\r
1081 +\r
1082 +Happy hacking,\r
1083 +\r
1084 +-Carl\r
1085 +\r
1086 +\f\r
1087 part}\r
1088 +\f\r
1089 body}\r
1090 +\f\r
1091 message}\r
1092 diff --git a/test/show.expected-output/single-thread-and-query-json b/test/show.expected-output/single-thread-and-query-json\r
1093 new file mode 100644\r
1094 index 0000000..290858b\r
1095 --- /dev/null\r
1096 +++ b/test/show.expected-output/single-thread-and-query-json\r
1097 @@ -0,0 +1,164 @@\r
1098 +[[[{"id": "XXXXX",\r
1099 + "match": false,\r
1100 + "excluded": false,\r
1101 + "filename": "YYYYY",\r
1102 + "timestamp": 1258484454,\r
1103 + "date_relative": "2009-11-17",\r
1104 + "tags": ["inbox","signed","unread"],\r
1105 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1106 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
1107 + "To": "notmuch@notmuchmail.org",\r
1108 + "Date": "Tue,\r
1109 + 17 Nov 2009 14:00:54 -0500"},\r
1110 + "body": [{"id": 1,\r
1111 + "content-type": "multipart/mixed",\r
1112 + "content": [{"id": 2,\r
1113 + "content-type": "multipart/signed",\r
1114 + "content": [{"id": 3,\r
1115 + "content-type": "text/plain",\r
1116 + "content": "I saw the LWN article and decided to take a look at notmuch.  I'm\ncurrently using mutt and mairix to index and read a collection of\nMaildir mail folders (around 40,000 messages total).\n\nnotmuch indexed the messages without complaint,\r
1117 + but my attempt at\nsearching bombed out. Running,\r
1118 + for example:\n\n  notmuch search storage\n\nResulted in 4604 lines of errors along the lines of:\n\n  Error opening\n  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n  Too many open files\n\nI'm curious if this is expected behavior (i.e.,\r
1119 + notmuch does not work\nwith Maildir) or if something else is going on.\n\nCheers,\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
1120 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
1121 + {"id": 4,\r
1122 + "content-type": "application/pgp-signature"}]},\r
1123 + {"id": 5,\r
1124 + "content-type": "text/plain",\r
1125 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1126 + [[{"id": "XXXXX",\r
1127 + "match": false,\r
1128 + "excluded": false,\r
1129 + "filename": "YYYYY",\r
1130 + "timestamp": 1258484558,\r
1131 + "date_relative": "2009-11-17",\r
1132 + "tags": ["inbox","signed","unread"],\r
1133 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
1134 + "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
1135 + "To": "notmuch@notmuchmail.org",\r
1136 + "Date": "Wed,\r
1137 + 18 Nov 2009 01:02:38 +0600"},\r
1138 + "body": [{"id": 1,\r
1139 + "content-type": "multipart/mixed",\r
1140 + "content": [{"id": 2,\r
1141 + "content-type": "multipart/signed",\r
1142 + "content": [{"id": 3,\r
1143 + "content-type": "text/plain",\r
1144 + "content": "\nTwas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\n\n LK> Resulted in 4604 lines of errors along the lines of:\n\n LK>   Error opening\n LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n LK>   Too many open files\n\nSee the patch just posted here.\n\n-- \n  http://fossarchy.blogspot.com/\n"},\r
1145 + {"id": 4,\r
1146 + "content-type": "application/pgp-signature"}]},\r
1147 + {"id": 5,\r
1148 + "content-type": "text/plain",\r
1149 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1150 + [[{"id": "XXXXX",\r
1151 + "match": false,\r
1152 + "excluded": false,\r
1153 + "filename": "YYYYY",\r
1154 + "timestamp": 1258489981,\r
1155 + "date_relative": "2009-11-17",\r
1156 + "tags": ["inbox","signed","unread"],\r
1157 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
1158 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
1159 + "To": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
1160 + "Cc": "notmuch@notmuchmail.org",\r
1161 + "Date": "Tue,\r
1162 + 17 Nov 2009 15:33:01 -0500"},\r
1163 + "body": [{"id": 1,\r
1164 + "content-type": "multipart/mixed",\r
1165 + "content": [{"id": 2,\r
1166 + "content-type": "multipart/signed",\r
1167 + "content": [{"id": 3,\r
1168 + "content-type": "text/plain",\r
1169 + "content": "> See the patch just posted here.\n\nIs the list archived anywhere?  The obvious archives\n(http://notmuchmail.org/pipermail/notmuch/) aren't available,\r
1170 + and I\nthink I subscribed too late to get the patch (I only just saw the\ndiscussion about it).\n\nIt doesn't look like the patch is in git yet.\n\n-- Lars\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
1171 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
1172 + {"id": 4,\r
1173 + "content-type": "application/pgp-signature"}]},\r
1174 + {"id": 5,\r
1175 + "content-type": "text/plain",\r
1176 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1177 + [[{"id": "XXXXX",\r
1178 + "match": false,\r
1179 + "excluded": false,\r
1180 + "filename": "YYYYY",\r
1181 + "timestamp": 1258491048,\r
1182 + "date_relative": "2009-11-17",\r
1183 + "tags": ["inbox","unread"],\r
1184 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1185 + "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
1186 + "To": "notmuch@notmuchmail.org",\r
1187 + "Date": "Wed,\r
1188 + 18 Nov 2009 02:50:48 +0600"},\r
1189 + "body": [{"id": 1,\r
1190 + "content-type": "text/plain",\r
1191 + "content": "\nTwas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\n\n LK> Is the list archived anywhere?  The obvious archives\n LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available,\r
1192 + and I\n LK> think I subscribed too late to get the patch (I only just saw the\n LK> discussion about it).\n\n LK> It doesn't look like the patch is in git yet.\n\nJust has been pushed\n\n-- \n  http://fossarchy.blogspot.com/\n-------------- next part --------------\nA non-text attachment was scrubbed...\nName: not available\nType: application/pgp-signature\nSize: 834 bytes\nDesc: not available\nURL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\n\n"}]},\r
1193 + []],\r
1194 + [{"id": "XXXXX",\r
1195 + "match": false,\r
1196 + "excluded": false,\r
1197 + "filename": "YYYYY",\r
1198 + "timestamp": 1258493053,\r
1199 + "date_relative": "2009-11-17",\r
1200 + "tags": ["inbox","unread"],\r
1201 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1202 + "From": "Keith Packard <keithp@keithp.com>",\r
1203 + "To": "notmuch@notmuchmail.org",\r
1204 + "Date": "Tue,\r
1205 + 17 Nov 2009 13:24:13 -0800"},\r
1206 + "body": [{"id": 1,\r
1207 + "content-type": "text/plain",\r
1208 + "content": "On Tue,\r
1209 + 17 Nov 2009 15:33:01 -0500,\r
1210 + Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\n> > See the patch just posted here.\n\nI've also pushed a slightly more complicated (and complete) fix to my\nprivate notmuch repository\n\ngit://keithp.com/git/notmuch\n\n> Is the list archived anywhere?\n\nOops. Looks like Carl's mail server is broken. He's traveling to\nBarcelona today and so it won't get fixed for a while.\n\nThanks to everyone for trying out notmuch!\n\n-keith\n\n"}]},\r
1211 + [[{"id": "XXXXX",\r
1212 + "match": false,\r
1213 + "excluded": false,\r
1214 + "filename": "YYYYY",\r
1215 + "timestamp": 1258505440,\r
1216 + "date_relative": "2009-11-18",\r
1217 + "tags": ["inbox","signed","unread"],\r
1218 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
1219 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
1220 + "To": "Keith Packard <keithp@keithp.com>",\r
1221 + "Cc": "notmuch@notmuchmail.org",\r
1222 + "Date": "Tue,\r
1223 + 17 Nov 2009 19:50:40 -0500"},\r
1224 + "body": [{"id": 1,\r
1225 + "content-type": "multipart/mixed",\r
1226 + "content": [{"id": 2,\r
1227 + "content-type": "multipart/signed",\r
1228 + "content": [{"id": 3,\r
1229 + "content-type": "text/plain",\r
1230 + "content": "> I've also pushed a slightly more complicated (and complete) fix to my\n> private notmuch repository\n\nThe version of lib/messages.cc in your repo doesn't build because it's\nmissing \"#include <stdint.h>\" (for the uint32_t on line 466).\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
1231 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
1232 + {"id": 4,\r
1233 + "content-type": "application/pgp-signature"}]},\r
1234 + {"id": 5,\r
1235 + "content-type": "text/plain",\r
1236 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1237 + []]]]]]]],\r
1238 + [{"id": "XXXXX",\r
1239 + "match": true,\r
1240 + "excluded": false,\r
1241 + "filename": "YYYYY",\r
1242 + "timestamp": 1258538890,\r
1243 + "date_relative": "2009-11-18",\r
1244 + "tags": ["inbox","unread"],\r
1245 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1246 + "From": "Carl Worth <cworth@cworth.org>",\r
1247 + "To": "notmuch@notmuchmail.org",\r
1248 + "Date": "Wed,\r
1249 + 18 Nov 2009 02:08:10 -0800"},\r
1250 + "body": [{"id": 1,\r
1251 + "content-type": "text/plain",\r
1252 + "content": "On Tue,\r
1253 + 17 Nov 2009 14:00:54 -0500,\r
1254 + Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\n> I saw the LWN article and decided to take a look at notmuch.  I'm\n> currently using mutt and mairix to index and read a collection of\n> Maildir mail folders (around 40,000 messages total).\n\nWelcome,\r
1255 + Lars!\n\nI hadn't even seen that Keith's blog post had been picked up by lwn.net.\nThat's very interesting. So,\r
1256 + thanks for coming and trying out notmuch.\n\n>   Error opening\n>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n>   Too many open files\n\nSadly,\r
1257 + the lwn article coincided with me having just introduced this\nbug,\r
1258 + and then getting on a Trans-Atlantic flight. So I fixed the bug\nfairly quickly,\r
1259 + but there was quite a bit of latency before I could push\nthe fix out. It should be fixed now.\n\n> I'm curious if this is expected behavior (i.e.,\r
1260 + notmuch does not work\n> with Maildir) or if something else is going on.\n\nNotmuch works just fine with maildir---it's one of the things that it\nlikes the best.\n\nHappy hacking,\n\n-Carl\n\n"}]},\r
1261 + []]]]]]\r
1262 \ No newline at end of file\r
1263 diff --git a/test/show.expected-output/single-thread-and-query-mbox b/test/show.expected-output/single-thread-and-query-mbox\r
1264 new file mode 100644\r
1265 index 0000000..a5d3af4\r
1266 --- /dev/null\r
1267 +++ b/test/show.expected-output/single-thread-and-query-mbox\r
1268 @@ -0,0 +1,39 @@\r
1269 +From cworth@cworth.org Wed Nov 18 10:08:10 2009\r
1270 +From: "Carl Worth" <cworth@cworth.org>\r
1271 +To: notmuch@notmuchmail.org\r
1272 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
1273 +Subject: [notmuch] Working with Maildir storage?\r
1274 +In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1275 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1276 +Message-ID: <87ocn0qh6d.fsf@yoom.home.cworth.org>\r
1277 +\r
1278 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
1279 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
1280 +> currently using mutt and mairix to index and read a collection of\r
1281 +> Maildir mail folders (around 40,000 messages total).\r
1282 +\r
1283 +Welcome, Lars!\r
1284 +\r
1285 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
1286 +That's very interesting. So, thanks for coming and trying out notmuch.\r
1287 +\r
1288 +>   Error opening\r
1289 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
1290 +>   Too many open files\r
1291 +\r
1292 +Sadly, the lwn article coincided with me having just introduced this\r
1293 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
1294 +fairly quickly, but there was quite a bit of latency before I could push\r
1295 +the fix out. It should be fixed now.\r
1296 +\r
1297 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
1298 +> with Maildir) or if something else is going on.\r
1299 +\r
1300 +Notmuch works just fine with maildir---it's one of the things that it\r
1301 +likes the best.\r
1302 +\r
1303 +Happy hacking,\r
1304 +\r
1305 +-Carl\r
1306 +\r
1307 +\r
1308 diff --git a/test/show.expected-output/single-thread-and-query-text b/test/show.expected-output/single-thread-and-query-text\r
1309 new file mode 100644\r
1310 index 0000000..6ae854a\r
1311 --- /dev/null\r
1312 +++ b/test/show.expected-output/single-thread-and-query-text\r
1313 @@ -0,0 +1,42 @@\r
1314 +\f\r
1315 message{ id:87ocn0qh6d.fsf@yoom.home.cworth.org depth:0 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/41:2,\r
1316 +\f\r
1317 header{\r
1318 +"Carl Worth" <cworth@cworth.org> (2009-11-18) (inbox unread)\r
1319 +Subject: [notmuch] Working with Maildir storage?\r
1320 +From: Carl Worth <cworth@cworth.org>\r
1321 +To: notmuch@notmuchmail.org\r
1322 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
1323 +\f\r
1324 header}\r
1325 +\f\r
1326 body{\r
1327 +\f\r
1328 part{ ID: 1, Content-type: text/plain\r
1329 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
1330 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
1331 +> currently using mutt and mairix to index and read a collection of\r
1332 +> Maildir mail folders (around 40,000 messages total).\r
1333 +\r
1334 +Welcome, Lars!\r
1335 +\r
1336 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
1337 +That's very interesting. So, thanks for coming and trying out notmuch.\r
1338 +\r
1339 +>   Error opening\r
1340 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
1341 +>   Too many open files\r
1342 +\r
1343 +Sadly, the lwn article coincided with me having just introduced this\r
1344 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
1345 +fairly quickly, but there was quite a bit of latency before I could push\r
1346 +the fix out. It should be fixed now.\r
1347 +\r
1348 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
1349 +> with Maildir) or if something else is going on.\r
1350 +\r
1351 +Notmuch works just fine with maildir---it's one of the things that it\r
1352 +likes the best.\r
1353 +\r
1354 +Happy hacking,\r
1355 +\r
1356 +-Carl\r
1357 +\r
1358 +\f\r
1359 part}\r
1360 +\f\r
1361 body}\r
1362 +\f\r
1363 message}\r
1364 diff --git a/test/show.expected-output/single-thread-json b/test/show.expected-output/single-thread-json\r
1365 new file mode 100644\r
1366 index 0000000..3aa3fd6\r
1367 --- /dev/null\r
1368 +++ b/test/show.expected-output/single-thread-json\r
1369 @@ -0,0 +1,164 @@\r
1370 +[[[{"id": "XXXXX",\r
1371 + "match": true,\r
1372 + "excluded": false,\r
1373 + "filename": "YYYYY",\r
1374 + "timestamp": 1258484454,\r
1375 + "date_relative": "2009-11-17",\r
1376 + "tags": ["inbox","signed","unread"],\r
1377 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1378 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
1379 + "To": "notmuch@notmuchmail.org",\r
1380 + "Date": "Tue,\r
1381 + 17 Nov 2009 14:00:54 -0500"},\r
1382 + "body": [{"id": 1,\r
1383 + "content-type": "multipart/mixed",\r
1384 + "content": [{"id": 2,\r
1385 + "content-type": "multipart/signed",\r
1386 + "content": [{"id": 3,\r
1387 + "content-type": "text/plain",\r
1388 + "content": "I saw the LWN article and decided to take a look at notmuch.  I'm\ncurrently using mutt and mairix to index and read a collection of\nMaildir mail folders (around 40,000 messages total).\n\nnotmuch indexed the messages without complaint,\r
1389 + but my attempt at\nsearching bombed out. Running,\r
1390 + for example:\n\n  notmuch search storage\n\nResulted in 4604 lines of errors along the lines of:\n\n  Error opening\n  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n  Too many open files\n\nI'm curious if this is expected behavior (i.e.,\r
1391 + notmuch does not work\nwith Maildir) or if something else is going on.\n\nCheers,\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
1392 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
1393 + {"id": 4,\r
1394 + "content-type": "application/pgp-signature"}]},\r
1395 + {"id": 5,\r
1396 + "content-type": "text/plain",\r
1397 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1398 + [[{"id": "XXXXX",\r
1399 + "match": true,\r
1400 + "excluded": false,\r
1401 + "filename": "YYYYY",\r
1402 + "timestamp": 1258484558,\r
1403 + "date_relative": "2009-11-17",\r
1404 + "tags": ["inbox","signed","unread"],\r
1405 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
1406 + "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
1407 + "To": "notmuch@notmuchmail.org",\r
1408 + "Date": "Wed,\r
1409 + 18 Nov 2009 01:02:38 +0600"},\r
1410 + "body": [{"id": 1,\r
1411 + "content-type": "multipart/mixed",\r
1412 + "content": [{"id": 2,\r
1413 + "content-type": "multipart/signed",\r
1414 + "content": [{"id": 3,\r
1415 + "content-type": "text/plain",\r
1416 + "content": "\nTwas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\n\n LK> Resulted in 4604 lines of errors along the lines of:\n\n LK>   Error opening\n LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n LK>   Too many open files\n\nSee the patch just posted here.\n\n-- \n  http://fossarchy.blogspot.com/\n"},\r
1417 + {"id": 4,\r
1418 + "content-type": "application/pgp-signature"}]},\r
1419 + {"id": 5,\r
1420 + "content-type": "text/plain",\r
1421 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1422 + [[{"id": "XXXXX",\r
1423 + "match": true,\r
1424 + "excluded": false,\r
1425 + "filename": "YYYYY",\r
1426 + "timestamp": 1258489981,\r
1427 + "date_relative": "2009-11-17",\r
1428 + "tags": ["inbox","signed","unread"],\r
1429 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
1430 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
1431 + "To": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
1432 + "Cc": "notmuch@notmuchmail.org",\r
1433 + "Date": "Tue,\r
1434 + 17 Nov 2009 15:33:01 -0500"},\r
1435 + "body": [{"id": 1,\r
1436 + "content-type": "multipart/mixed",\r
1437 + "content": [{"id": 2,\r
1438 + "content-type": "multipart/signed",\r
1439 + "content": [{"id": 3,\r
1440 + "content-type": "text/plain",\r
1441 + "content": "> See the patch just posted here.\n\nIs the list archived anywhere?  The obvious archives\n(http://notmuchmail.org/pipermail/notmuch/) aren't available,\r
1442 + and I\nthink I subscribed too late to get the patch (I only just saw the\ndiscussion about it).\n\nIt doesn't look like the patch is in git yet.\n\n-- Lars\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
1443 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
1444 + {"id": 4,\r
1445 + "content-type": "application/pgp-signature"}]},\r
1446 + {"id": 5,\r
1447 + "content-type": "text/plain",\r
1448 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1449 + [[{"id": "XXXXX",\r
1450 + "match": true,\r
1451 + "excluded": false,\r
1452 + "filename": "YYYYY",\r
1453 + "timestamp": 1258491048,\r
1454 + "date_relative": "2009-11-17",\r
1455 + "tags": ["inbox","unread"],\r
1456 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1457 + "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
1458 + "To": "notmuch@notmuchmail.org",\r
1459 + "Date": "Wed,\r
1460 + 18 Nov 2009 02:50:48 +0600"},\r
1461 + "body": [{"id": 1,\r
1462 + "content-type": "text/plain",\r
1463 + "content": "\nTwas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\n\n LK> Is the list archived anywhere?  The obvious archives\n LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available,\r
1464 + and I\n LK> think I subscribed too late to get the patch (I only just saw the\n LK> discussion about it).\n\n LK> It doesn't look like the patch is in git yet.\n\nJust has been pushed\n\n-- \n  http://fossarchy.blogspot.com/\n-------------- next part --------------\nA non-text attachment was scrubbed...\nName: not available\nType: application/pgp-signature\nSize: 834 bytes\nDesc: not available\nURL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\n\n"}]},\r
1465 + []],\r
1466 + [{"id": "XXXXX",\r
1467 + "match": true,\r
1468 + "excluded": false,\r
1469 + "filename": "YYYYY",\r
1470 + "timestamp": 1258493053,\r
1471 + "date_relative": "2009-11-17",\r
1472 + "tags": ["inbox","unread"],\r
1473 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1474 + "From": "Keith Packard <keithp@keithp.com>",\r
1475 + "To": "notmuch@notmuchmail.org",\r
1476 + "Date": "Tue,\r
1477 + 17 Nov 2009 13:24:13 -0800"},\r
1478 + "body": [{"id": 1,\r
1479 + "content-type": "text/plain",\r
1480 + "content": "On Tue,\r
1481 + 17 Nov 2009 15:33:01 -0500,\r
1482 + Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\n> > See the patch just posted here.\n\nI've also pushed a slightly more complicated (and complete) fix to my\nprivate notmuch repository\n\ngit://keithp.com/git/notmuch\n\n> Is the list archived anywhere?\n\nOops. Looks like Carl's mail server is broken. He's traveling to\nBarcelona today and so it won't get fixed for a while.\n\nThanks to everyone for trying out notmuch!\n\n-keith\n\n"}]},\r
1483 + [[{"id": "XXXXX",\r
1484 + "match": true,\r
1485 + "excluded": false,\r
1486 + "filename": "YYYYY",\r
1487 + "timestamp": 1258505440,\r
1488 + "date_relative": "2009-11-18",\r
1489 + "tags": ["inbox","signed","unread"],\r
1490 + "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
1491 + "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
1492 + "To": "Keith Packard <keithp@keithp.com>",\r
1493 + "Cc": "notmuch@notmuchmail.org",\r
1494 + "Date": "Tue,\r
1495 + 17 Nov 2009 19:50:40 -0500"},\r
1496 + "body": [{"id": 1,\r
1497 + "content-type": "multipart/mixed",\r
1498 + "content": [{"id": 2,\r
1499 + "content-type": "multipart/signed",\r
1500 + "content": [{"id": 3,\r
1501 + "content-type": "text/plain",\r
1502 + "content": "> I've also pushed a slightly more complicated (and complete) fix to my\n> private notmuch repository\n\nThe version of lib/messages.cc in your repo doesn't build because it's\nmissing \"#include <stdint.h>\" (for the uint32_t on line 466).\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\nSenior Technologist,\r
1503 + Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
1504 + {"id": 4,\r
1505 + "content-type": "application/pgp-signature"}]},\r
1506 + {"id": 5,\r
1507 + "content-type": "text/plain",\r
1508 + "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
1509 + []]]]]]]],\r
1510 + [{"id": "XXXXX",\r
1511 + "match": true,\r
1512 + "excluded": false,\r
1513 + "filename": "YYYYY",\r
1514 + "timestamp": 1258538890,\r
1515 + "date_relative": "2009-11-18",\r
1516 + "tags": ["inbox","unread"],\r
1517 + "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
1518 + "From": "Carl Worth <cworth@cworth.org>",\r
1519 + "To": "notmuch@notmuchmail.org",\r
1520 + "Date": "Wed,\r
1521 + 18 Nov 2009 02:08:10 -0800"},\r
1522 + "body": [{"id": 1,\r
1523 + "content-type": "text/plain",\r
1524 + "content": "On Tue,\r
1525 + 17 Nov 2009 14:00:54 -0500,\r
1526 + Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\n> I saw the LWN article and decided to take a look at notmuch.  I'm\n> currently using mutt and mairix to index and read a collection of\n> Maildir mail folders (around 40,000 messages total).\n\nWelcome,\r
1527 + Lars!\n\nI hadn't even seen that Keith's blog post had been picked up by lwn.net.\nThat's very interesting. So,\r
1528 + thanks for coming and trying out notmuch.\n\n>   Error opening\n>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\n>   Too many open files\n\nSadly,\r
1529 + the lwn article coincided with me having just introduced this\nbug,\r
1530 + and then getting on a Trans-Atlantic flight. So I fixed the bug\nfairly quickly,\r
1531 + but there was quite a bit of latency before I could push\nthe fix out. It should be fixed now.\n\n> I'm curious if this is expected behavior (i.e.,\r
1532 + notmuch does not work\n> with Maildir) or if something else is going on.\n\nNotmuch works just fine with maildir---it's one of the things that it\nlikes the best.\n\nHappy hacking,\n\n-Carl\n\n"}]},\r
1533 + []]]]]]\r
1534 \ No newline at end of file\r
1535 diff --git a/test/show.expected-output/single-thread-mbox b/test/show.expected-output/single-thread-mbox\r
1536 new file mode 100644\r
1537 index 0000000..dd9e0d4\r
1538 --- /dev/null\r
1539 +++ b/test/show.expected-output/single-thread-mbox\r
1540 @@ -0,0 +1,459 @@\r
1541 +From lars@seas.harvard.edu Tue Nov 17 19:00:54 2009\r
1542 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
1543 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1544 +To: notmuch@notmuchmail.org\r
1545 +Message-ID: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1546 +MIME-Version: 1.0\r
1547 +User-Agent: Mutt/1.5.19 (2009-01-05)\r
1548 +Subject: [notmuch] Working with Maildir storage?\r
1549 +X-BeenThere: notmuch@notmuchmail.org\r
1550 +X-Mailman-Version: 2.1.12\r
1551 +Precedence: list\r
1552 +List-Id: "Use and development of the notmuch mail system."\r
1553 +       <notmuch.notmuchmail.org>\r
1554 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
1555 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
1556 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
1557 +List-Post: <mailto:notmuch@notmuchmail.org>\r
1558 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
1559 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
1560 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
1561 +Content-Type: multipart/mixed; boundary="===============1685355122=="\r
1562 +Sender: notmuch-bounces@notmuchmail.org\r
1563 +Errors-To: notmuch-bounces@notmuchmail.org\r
1564 +\r
1565 +\r
1566 +--===============1685355122==\r
1567 +Content-Type: multipart/signed; micalg=pgp-sha256;\r
1568 +       protocol="application/pgp-signature"; boundary="5Dr6Wqe9hdyl7LAI"\r
1569 +Content-Disposition: inline\r
1570 +\r
1571 +\r
1572 +--5Dr6Wqe9hdyl7LAI\r
1573 +Content-Type: text/plain; charset=us-ascii\r
1574 +Content-Disposition: inline\r
1575 +Content-Transfer-Encoding: quoted-printable\r
1576 +\r
1577 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
1578 +currently using mutt and mairix to index and read a collection of\r
1579 +Maildir mail folders (around 40,000 messages total).\r
1580 +\r
1581 +notmuch indexed the messages without complaint, but my attempt at\r
1582 +searching bombed out. Running, for example:\r
1583 +\r
1584 +  notmuch search storage\r
1585 +\r
1586 +Resulted in 4604 lines of errors along the lines of:\r
1587 +\r
1588 +  Error opening\r
1589 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=\r
1590 +=3D3026:2,S:\r
1591 +  Too many open files\r
1592 +\r
1593 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
1594 +with Maildir) or if something else is going on.\r
1595 +\r
1596 +Cheers,\r
1597 +\r
1598 +--=20\r
1599 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1600 +Senior Technologist, Computing and Information Technology\r
1601 +Harvard University School of Engineering and Applied Sciences\r
1602 +\r
1603 +\r
1604 +--5Dr6Wqe9hdyl7LAI\r
1605 +Content-Type: application/pgp-signature\r
1606 +Content-Disposition: inline\r
1607 +\r
1608 +-----BEGIN PGP SIGNATURE-----\r
1609 +Version: GnuPG v1.4.9 (GNU/Linux)\r
1610 +\r
1611 +iQEcBAEBCAAGBQJLAvLmAAoJENdGlQYxQazYRtcH/0usClQ1Z+EoTsA+URwIK6hD\r
1612 +FsZUxFxRjMuOQRn2idZ/zhhg5jJj11ZaHjqxSkDvi2ywkTKUf1vX9LLzVy5hSR9M\r
1613 +E6XQUd5QWAQXo1VsTeKkukIL0YqsPjdgrT8+Yt+OS2NvhEncql23oxnL2/pHkIFq\r
1614 +r0NdTmVV5Jcar7w9J6X1Mi9m229a/9jV5FImsWISkIhIWznXU5SiU6zIw8xhP4E0\r
1615 +xhvVSNJnFryjVHtva870aSQduhHfeLPzpYhqbkMPvlq+bcz6Q/Q2SwxJcGLNMPHa\r
1616 +os9s9FGhCvFKUhVzezHWPgXNCcNT8qK89rcUldb5Oq4jaJb8RCZCYABplfoyaFs=\r
1617 +=vO4s\r
1618 +-----END PGP SIGNATURE-----\r
1619 +\r
1620 +--5Dr6Wqe9hdyl7LAI--\r
1621 +\r
1622 +--===============1685355122==\r
1623 +Content-Type: text/plain; charset="us-ascii"\r
1624 +MIME-Version: 1.0\r
1625 +Content-Transfer-Encoding: 7bit\r
1626 +Content-Disposition: inline\r
1627 +\r
1628 +_______________________________________________\r
1629 +notmuch mailing list\r
1630 +notmuch@notmuchmail.org\r
1631 +http://notmuchmail.org/mailman/listinfo/notmuch\r
1632 +\r
1633 +--===============1685355122==--\r
1634 +\r
1635 +\r
1636 +From dottedmag@dottedmag.net Tue Nov 17 19:02:38 2009\r
1637 +From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
1638 +To: notmuch@notmuchmail.org\r
1639 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1640 +Date: Wed, 18 Nov 2009 01:02:38 +0600\r
1641 +In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu> (Lars\r
1642 +       Kellogg-Stedman's message of "Tue, 17 Nov 2009 14:00:54 -0500")\r
1643 +Message-ID: <87iqd9rn3l.fsf@vertex.dottedmag>\r
1644 +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)\r
1645 +MIME-Version: 1.0\r
1646 +Subject: Re: [notmuch] Working with Maildir storage?\r
1647 +X-BeenThere: notmuch@notmuchmail.org\r
1648 +X-Mailman-Version: 2.1.12\r
1649 +Precedence: list\r
1650 +List-Id: "Use and development of the notmuch mail system."\r
1651 +       <notmuch.notmuchmail.org>\r
1652 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
1653 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
1654 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
1655 +List-Post: <mailto:notmuch@notmuchmail.org>\r
1656 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
1657 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
1658 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
1659 +Content-Type: multipart/mixed; boundary="===============1958295626=="\r
1660 +Sender: notmuch-bounces@notmuchmail.org\r
1661 +Errors-To: notmuch-bounces@notmuchmail.org\r
1662 +\r
1663 +--===============1958295626==\r
1664 +Content-Type: multipart/signed; boundary="=-=-=";\r
1665 +       micalg=pgp-sha1; protocol="application/pgp-signature"\r
1666 +\r
1667 +--=-=-=\r
1668 +Content-Transfer-Encoding: quoted-printable\r
1669 +\r
1670 +\r
1671 +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did g=\r
1672 +yre and gimble:\r
1673 +\r
1674 + LK> Resulted in 4604 lines of errors along the lines of:\r
1675 +\r
1676 + LK>   Error opening\r
1677 + LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostna=\r
1678 +me,U=3D3026:2,S:\r
1679 + LK>   Too many open files\r
1680 +\r
1681 +See the patch just posted here.\r
1682 +\r
1683 +=2D-=20\r
1684 +  http://fossarchy.blogspot.com/\r
1685 +\r
1686 +--=-=-=\r
1687 +Content-Type: application/pgp-signature\r
1688 +\r
1689 +-----BEGIN PGP SIGNATURE-----\r
1690 +Version: GnuPG v1.4.9 (GNU/Linux)\r
1691 +\r
1692 +iQIcBAEBAgAGBQJLAvNOAAoJEJ0g9lA+M4iIjLYQAKp0PXEgl3JMOEBisH52AsIK\r
1693 +CzzfP4Fzd41K9VH/c1EdQWDYR6FCAA4IUSNICnJhITsYUb0eC5AKJiey3JP0+rmd\r
1694 +s4qEFBKH2iuphv8Llltcv2Q8DyPuJBkVa3mO9XCCeABZ6v4UvnTSWRVG12csSEih\r
1695 +ScgienU8sMrM9LwvvVI1ZB2flm2TzsH2hWi30jIgmtBntIKJaTgbFXB50FYFwULa\r
1696 +gGL/oH3u+YpumedWzPZdCJrw2q7nMvYx8aQ29EDCNLZibAZe+6oDTa6Fv6/0ldpQ\r
1697 +U+DptR0nJGbJTWa26OTSvmyeIORjAfM+TEI68n7KO9VHYPmVh6awcf0MNKYh2xWk\r
1698 +eRQNBcKyQNWxeKyCCpT/rrTlpxBWahpvg+V8lkDH2W09wjRp6CUKvifK3Sz3am9m\r
1699 +5ZUMpvXbwkZD6Ci6l/QytbYK50e8UpvFSu5DBaxBz59ykoypuNg2ayO5Kdi6IF5d\r
1700 +T+Sw6wo8UKn9a33+vheIc0fkhZXbeSotEmDm7huazm6CgM3dcWXUpTuJvik1cSWp\r
1701 +4buv98gY6IKWKoUTXODWUr+7VR4gei8du8qOsKem+QDfNX7tmaIRjhrbB24B91Wy\r
1702 +td3MTJD7GjMNid0INqRY1CRMLo8YlPaq6NBZfcYtYgwa6gpJijz1/MAn8+GMrfhF\r
1703 +9LI8b9jopNP+pMYBohLA\r
1704 +=/ksP\r
1705 +-----END PGP SIGNATURE-----\r
1706 +--=-=-=--\r
1707 +\r
1708 +--===============1958295626==\r
1709 +Content-Type: text/plain; charset="us-ascii"\r
1710 +MIME-Version: 1.0\r
1711 +Content-Transfer-Encoding: 7bit\r
1712 +Content-Disposition: inline\r
1713 +\r
1714 +_______________________________________________\r
1715 +notmuch mailing list\r
1716 +notmuch@notmuchmail.org\r
1717 +http://notmuchmail.org/mailman/listinfo/notmuch\r
1718 +\r
1719 +--===============1958295626==--\r
1720 +\r
1721 +\r
1722 +From lars@seas.harvard.edu Tue Nov 17 20:33:01 2009\r
1723 +Date: Tue, 17 Nov 2009 15:33:01 -0500\r
1724 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1725 +To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
1726 +Message-ID: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
1727 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1728 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
1729 +MIME-Version: 1.0\r
1730 +In-Reply-To: <87iqd9rn3l.fsf@vertex.dottedmag>\r
1731 +User-Agent: Mutt/1.5.19 (2009-01-05)\r
1732 +Cc: notmuch@notmuchmail.org\r
1733 +Subject: Re: [notmuch] Working with Maildir storage?\r
1734 +X-BeenThere: notmuch@notmuchmail.org\r
1735 +X-Mailman-Version: 2.1.12\r
1736 +Precedence: list\r
1737 +List-Id: "Use and development of the notmuch mail system."\r
1738 +       <notmuch.notmuchmail.org>\r
1739 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
1740 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
1741 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
1742 +List-Post: <mailto:notmuch@notmuchmail.org>\r
1743 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
1744 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
1745 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
1746 +Content-Type: multipart/mixed; boundary="===============0063752545=="\r
1747 +Sender: notmuch-bounces@notmuchmail.org\r
1748 +Errors-To: notmuch-bounces@notmuchmail.org\r
1749 +\r
1750 +\r
1751 +--===============0063752545==\r
1752 +Content-Type: multipart/signed; micalg=pgp-sha256;\r
1753 +       protocol="application/pgp-signature"; boundary="GGxZz/e2pmGePzrA"\r
1754 +Content-Disposition: inline\r
1755 +\r
1756 +\r
1757 +--GGxZz/e2pmGePzrA\r
1758 +Content-Type: text/plain; charset=us-ascii\r
1759 +Content-Disposition: inline\r
1760 +Content-Transfer-Encoding: quoted-printable\r
1761 +\r
1762 +> See the patch just posted here.\r
1763 +\r
1764 +Is the list archived anywhere?  The obvious archives\r
1765 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
1766 +think I subscribed too late to get the patch (I only just saw the\r
1767 +discussion about it).\r
1768 +\r
1769 +It doesn't look like the patch is in git yet.\r
1770 +\r
1771 +-- Lars\r
1772 +\r
1773 +--=20\r
1774 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1775 +Senior Technologist, Computing and Information Technology\r
1776 +Harvard University School of Engineering and Applied Sciences\r
1777 +\r
1778 +\r
1779 +--GGxZz/e2pmGePzrA\r
1780 +Content-Type: application/pgp-signature\r
1781 +Content-Disposition: inline\r
1782 +\r
1783 +-----BEGIN PGP SIGNATURE-----\r
1784 +Version: GnuPG v1.4.9 (GNU/Linux)\r
1785 +\r
1786 +iQEcBAEBCAAGBQJLAwh9AAoJENdGlQYxQazYHJMIAI+XTPOyBTZIxEGTdgVKd2fR\r
1787 +k27ucKs6lXozfMIIGchNUDXQho+KmiuTfX1XFJeBkqOlhrd9zlGjBGoBM0YBq/Gs\r
1788 +aStPdonREzsHORjmyQCCpjg4AcqCRTXFbDXzAeXlxMPOrZ3P0XNPzTEM1mVksbmg\r
1789 +mBBDLdHncy4sSCfFgXwRGGgLv9z5Acqm8xGYr68c9PIXY939ozIKV9LVUhxiNz9g\r
1790 +We2a9rLDhfwxUqDlGdiNwZZimiKvD/fsYSrBZMDb5HgIYkeNZ4SD8Xu+OgB550wN\r
1791 +OFfwGi3o8WFK2AyDe5QJDh9Ub+euPNlVzePoGpkltZEHuCcLFJqCHv5XYpbxcjA=\r
1792 +=GO2Q\r
1793 +-----END PGP SIGNATURE-----\r
1794 +\r
1795 +--GGxZz/e2pmGePzrA--\r
1796 +\r
1797 +--===============0063752545==\r
1798 +Content-Type: text/plain; charset="us-ascii"\r
1799 +MIME-Version: 1.0\r
1800 +Content-Transfer-Encoding: 7bit\r
1801 +Content-Disposition: inline\r
1802 +\r
1803 +_______________________________________________\r
1804 +notmuch mailing list\r
1805 +notmuch@notmuchmail.org\r
1806 +http://notmuchmail.org/mailman/listinfo/notmuch\r
1807 +\r
1808 +--===============0063752545==--\r
1809 +\r
1810 +\r
1811 +From dottedmag@dottedmag.net Tue Nov 17 20:50:48 2009\r
1812 +From: "Mikhail Gusarov" <dottedmag@dottedmag.net>\r
1813 +To: notmuch@notmuchmail.org\r
1814 +Date: Wed, 18 Nov 2009 02:50:48 +0600\r
1815 +Subject: [notmuch] Working with Maildir storage?\r
1816 +In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu> (Lars\r
1817 +       Kellogg-Stedman's message of "Tue, 17 Nov 2009 15:33:01 -0500")\r
1818 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1819 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
1820 +       <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
1821 +Message-ID: <87fx8can9z.fsf@vertex.dottedmag>\r
1822 +\r
1823 +\r
1824 +Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
1825 +\r
1826 + LK> Is the list archived anywhere?  The obvious archives\r
1827 + LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
1828 + LK> think I subscribed too late to get the patch (I only just saw the\r
1829 + LK> discussion about it).\r
1830 +\r
1831 + LK> It doesn't look like the patch is in git yet.\r
1832 +\r
1833 +Just has been pushed\r
1834 +\r
1835 +-- \r
1836 +  http://fossarchy.blogspot.com/\r
1837 +-------------- next part --------------\r
1838 +A non-text attachment was scrubbed...\r
1839 +Name: not available\r
1840 +Type: application/pgp-signature\r
1841 +Size: 834 bytes\r
1842 +Desc: not available\r
1843 +URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
1844 +\r
1845 +\r
1846 +From keithp@keithp.com Tue Nov 17 21:24:13 2009\r
1847 +From: "Keith Packard" <keithp@keithp.com>\r
1848 +To: notmuch@notmuchmail.org\r
1849 +Date: Tue, 17 Nov 2009 13:24:13 -0800\r
1850 +Subject: [notmuch] Working with Maildir storage?\r
1851 +In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
1852 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1853 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
1854 +       <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
1855 +Message-ID: <yunaayketfm.fsf@aiko.keithp.com>\r
1856 +\r
1857 +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
1858 +> > See the patch just posted here.\r
1859 +\r
1860 +I've also pushed a slightly more complicated (and complete) fix to my\r
1861 +private notmuch repository\r
1862 +\r
1863 +git://keithp.com/git/notmuch\r
1864 +\r
1865 +> Is the list archived anywhere?\r
1866 +\r
1867 +Oops. Looks like Carl's mail server is broken. He's traveling to\r
1868 +Barcelona today and so it won't get fixed for a while.\r
1869 +\r
1870 +Thanks to everyone for trying out notmuch!\r
1871 +\r
1872 +-keith\r
1873 +\r
1874 +\r
1875 +From lars@seas.harvard.edu Wed Nov 18 00:50:40 2009\r
1876 +Date: Tue, 17 Nov 2009 19:50:40 -0500\r
1877 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1878 +To: Keith Packard <keithp@keithp.com>\r
1879 +Message-ID: <20091118005040.GA25380@dottiness.seas.harvard.edu>\r
1880 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1881 +       <87iqd9rn3l.fsf@vertex.dottedmag>\r
1882 +       <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
1883 +       <yunaayketfm.fsf@aiko.keithp.com>\r
1884 +MIME-Version: 1.0\r
1885 +In-Reply-To: <yunaayketfm.fsf@aiko.keithp.com>\r
1886 +User-Agent: Mutt/1.5.19 (2009-01-05)\r
1887 +Cc: notmuch@notmuchmail.org\r
1888 +Subject: Re: [notmuch] Working with Maildir storage?\r
1889 +X-BeenThere: notmuch@notmuchmail.org\r
1890 +X-Mailman-Version: 2.1.12\r
1891 +Precedence: list\r
1892 +List-Id: "Use and development of the notmuch mail system."\r
1893 +       <notmuch.notmuchmail.org>\r
1894 +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
1895 +       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
1896 +List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
1897 +List-Post: <mailto:notmuch@notmuchmail.org>\r
1898 +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
1899 +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
1900 +       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
1901 +Content-Type: multipart/mixed; boundary="===============1483126515=="\r
1902 +Sender: notmuch-bounces@notmuchmail.org\r
1903 +Errors-To: notmuch-bounces@notmuchmail.org\r
1904 +\r
1905 +\r
1906 +--===============1483126515==\r
1907 +Content-Type: multipart/signed; micalg=pgp-sha256;\r
1908 +       protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj"\r
1909 +Content-Disposition: inline\r
1910 +\r
1911 +\r
1912 +--9amGYk9869ThD9tj\r
1913 +Content-Type: text/plain; charset=us-ascii\r
1914 +Content-Disposition: inline\r
1915 +Content-Transfer-Encoding: quoted-printable\r
1916 +\r
1917 +> I've also pushed a slightly more complicated (and complete) fix to my\r
1918 +> private notmuch repository\r
1919 +\r
1920 +The version of lib/messages.cc in your repo doesn't build because it's\r
1921 +missing "#include <stdint.h>" (for the uint32_t on line 466).\r
1922 +\r
1923 +--=20\r
1924 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
1925 +Senior Technologist, Computing and Information Technology\r
1926 +Harvard University School of Engineering and Applied Sciences\r
1927 +\r
1928 +\r
1929 +--9amGYk9869ThD9tj\r
1930 +Content-Type: application/pgp-signature\r
1931 +Content-Disposition: inline\r
1932 +\r
1933 +-----BEGIN PGP SIGNATURE-----\r
1934 +Version: GnuPG v1.4.9 (GNU/Linux)\r
1935 +\r
1936 +iQEcBAEBCAAGBQJLA0TgAAoJENdGlQYxQazYsG0IAJ1t9h4Q3ma8z8ejeKR22Xh0\r
1937 +WcuRX2x9yEXy/+aG9W7Mot0mqUQCiLdmHM/2h5N9BFHyJvfOUf8lmssrJ5OS/kp5\r
1938 +j7FIx3GUELBmEZqFUPjRSQPk1hZURYdRsloKkrbQ2kAivjjb50zAAQ8Av4Cgj6cS\r
1939 +3HvNNmeVfJt1NS75vm+/wn48M8Vrcdv4gvNlSOhgFOixknvRoxSyNDOHYBKvHnSV\r
1940 +2HnO0GzhAQzDZAwdHBzJtb8vRmglrH33TVdrE7OW+sojYB3Wyz8r9+HIt8Q8ovzX\r
1941 +nQ8p0Nf5DlF7tye3JYo0EeNm5EQJ4q0YyVYInhmtpi3A5Cyu50GcB/GZ5Sd6ajo=\r
1942 +=WULe\r
1943 +-----END PGP SIGNATURE-----\r
1944 +\r
1945 +--9amGYk9869ThD9tj--\r
1946 +\r
1947 +--===============1483126515==\r
1948 +Content-Type: text/plain; charset="us-ascii"\r
1949 +MIME-Version: 1.0\r
1950 +Content-Transfer-Encoding: 7bit\r
1951 +Content-Disposition: inline\r
1952 +\r
1953 +_______________________________________________\r
1954 +notmuch mailing list\r
1955 +notmuch@notmuchmail.org\r
1956 +http://notmuchmail.org/mailman/listinfo/notmuch\r
1957 +\r
1958 +--===============1483126515==--\r
1959 +\r
1960 +\r
1961 +From cworth@cworth.org Wed Nov 18 10:08:10 2009\r
1962 +From: "Carl Worth" <cworth@cworth.org>\r
1963 +To: notmuch@notmuchmail.org\r
1964 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
1965 +Subject: [notmuch] Working with Maildir storage?\r
1966 +In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1967 +References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
1968 +Message-ID: <87ocn0qh6d.fsf@yoom.home.cworth.org>\r
1969 +\r
1970 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
1971 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
1972 +> currently using mutt and mairix to index and read a collection of\r
1973 +> Maildir mail folders (around 40,000 messages total).\r
1974 +\r
1975 +Welcome, Lars!\r
1976 +\r
1977 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
1978 +That's very interesting. So, thanks for coming and trying out notmuch.\r
1979 +\r
1980 +>   Error opening\r
1981 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
1982 +>   Too many open files\r
1983 +\r
1984 +Sadly, the lwn article coincided with me having just introduced this\r
1985 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
1986 +fairly quickly, but there was quite a bit of latency before I could push\r
1987 +the fix out. It should be fixed now.\r
1988 +\r
1989 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
1990 +> with Maildir) or if something else is going on.\r
1991 +\r
1992 +Notmuch works just fine with maildir---it's one of the things that it\r
1993 +likes the best.\r
1994 +\r
1995 +Happy hacking,\r
1996 +\r
1997 +-Carl\r
1998 +\r
1999 +\r
2000 diff --git a/test/show.expected-output/single-thread-text b/test/show.expected-output/single-thread-text\r
2001 new file mode 100644\r
2002 index 0000000..e00173f\r
2003 --- /dev/null\r
2004 +++ b/test/show.expected-output/single-thread-text\r
2005 @@ -0,0 +1,278 @@\r
2006 +\f\r
2007 message{ id:20091117190054.GU3165@dottiness.seas.harvard.edu depth:0 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/03:2,\r
2008 +\f\r
2009 header{\r
2010 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
2011 +Subject: [notmuch] Working with Maildir storage?\r
2012 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
2013 +To: notmuch@notmuchmail.org\r
2014 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
2015 +\f\r
2016 header}\r
2017 +\f\r
2018 body{\r
2019 +\f\r
2020 part{ ID: 1, Content-type: multipart/mixed\r
2021 +\f\r
2022 part{ ID: 2, Content-type: multipart/signed\r
2023 +\f\r
2024 part{ ID: 3, Content-type: text/plain\r
2025 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
2026 +currently using mutt and mairix to index and read a collection of\r
2027 +Maildir mail folders (around 40,000 messages total).\r
2028 +\r
2029 +notmuch indexed the messages without complaint, but my attempt at\r
2030 +searching bombed out. Running, for example:\r
2031 +\r
2032 +  notmuch search storage\r
2033 +\r
2034 +Resulted in 4604 lines of errors along the lines of:\r
2035 +\r
2036 +  Error opening\r
2037 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
2038 +  Too many open files\r
2039 +\r
2040 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
2041 +with Maildir) or if something else is going on.\r
2042 +\r
2043 +Cheers,\r
2044 +\r
2045 +-- \r
2046 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
2047 +Senior Technologist, Computing and Information Technology\r
2048 +Harvard University School of Engineering and Applied Sciences\r
2049 +\r
2050 +\f\r
2051 part}\r
2052 +\f\r
2053 part{ ID: 4, Content-type: application/pgp-signature\r
2054 +Non-text part: application/pgp-signature\r
2055 +\f\r
2056 part}\r
2057 +\f\r
2058 part}\r
2059 +\f\r
2060 part{ ID: 5, Content-type: text/plain\r
2061 +_______________________________________________\r
2062 +notmuch mailing list\r
2063 +notmuch@notmuchmail.org\r
2064 +http://notmuchmail.org/mailman/listinfo/notmuch\r
2065 +\f\r
2066 part}\r
2067 +\f\r
2068 part}\r
2069 +\f\r
2070 body}\r
2071 +\f\r
2072 message}\r
2073 +\f\r
2074 message{ id:87iqd9rn3l.fsf@vertex.dottedmag depth:1 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/04:2,\r
2075 +\f\r
2076 header{\r
2077 +Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)\r
2078 +Subject: Re: [notmuch] Working with Maildir storage?\r
2079 +From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
2080 +To: notmuch@notmuchmail.org\r
2081 +Date: Wed, 18 Nov 2009 01:02:38 +0600\r
2082 +\f\r
2083 header}\r
2084 +\f\r
2085 body{\r
2086 +\f\r
2087 part{ ID: 1, Content-type: multipart/mixed\r
2088 +\f\r
2089 part{ ID: 2, Content-type: multipart/signed\r
2090 +\f\r
2091 part{ ID: 3, Content-type: text/plain\r
2092 +\r
2093 +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\r
2094 +\r
2095 + LK> Resulted in 4604 lines of errors along the lines of:\r
2096 +\r
2097 + LK>   Error opening\r
2098 + LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
2099 + LK>   Too many open files\r
2100 +\r
2101 +See the patch just posted here.\r
2102 +\r
2103 +-- \r
2104 +  http://fossarchy.blogspot.com/\r
2105 +\f\r
2106 part}\r
2107 +\f\r
2108 part{ ID: 4, Content-type: application/pgp-signature\r
2109 +Non-text part: application/pgp-signature\r
2110 +\f\r
2111 part}\r
2112 +\f\r
2113 part}\r
2114 +\f\r
2115 part{ ID: 5, Content-type: text/plain\r
2116 +_______________________________________________\r
2117 +notmuch mailing list\r
2118 +notmuch@notmuchmail.org\r
2119 +http://notmuchmail.org/mailman/listinfo/notmuch\r
2120 +\f\r
2121 part}\r
2122 +\f\r
2123 part}\r
2124 +\f\r
2125 body}\r
2126 +\f\r
2127 message}\r
2128 +\f\r
2129 message{ id:20091117203301.GV3165@dottiness.seas.harvard.edu depth:2 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/08:2,\r
2130 +\f\r
2131 header{\r
2132 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
2133 +Subject: Re: [notmuch] Working with Maildir storage?\r
2134 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
2135 +To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
2136 +Cc: notmuch@notmuchmail.org\r
2137 +Date: Tue, 17 Nov 2009 15:33:01 -0500\r
2138 +\f\r
2139 header}\r
2140 +\f\r
2141 body{\r
2142 +\f\r
2143 part{ ID: 1, Content-type: multipart/mixed\r
2144 +\f\r
2145 part{ ID: 2, Content-type: multipart/signed\r
2146 +\f\r
2147 part{ ID: 3, Content-type: text/plain\r
2148 +> See the patch just posted here.\r
2149 +\r
2150 +Is the list archived anywhere?  The obvious archives\r
2151 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
2152 +think I subscribed too late to get the patch (I only just saw the\r
2153 +discussion about it).\r
2154 +\r
2155 +It doesn't look like the patch is in git yet.\r
2156 +\r
2157 +-- Lars\r
2158 +\r
2159 +-- \r
2160 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
2161 +Senior Technologist, Computing and Information Technology\r
2162 +Harvard University School of Engineering and Applied Sciences\r
2163 +\r
2164 +\f\r
2165 part}\r
2166 +\f\r
2167 part{ ID: 4, Content-type: application/pgp-signature\r
2168 +Non-text part: application/pgp-signature\r
2169 +\f\r
2170 part}\r
2171 +\f\r
2172 part}\r
2173 +\f\r
2174 part{ ID: 5, Content-type: text/plain\r
2175 +_______________________________________________\r
2176 +notmuch mailing list\r
2177 +notmuch@notmuchmail.org\r
2178 +http://notmuchmail.org/mailman/listinfo/notmuch\r
2179 +\f\r
2180 part}\r
2181 +\f\r
2182 part}\r
2183 +\f\r
2184 body}\r
2185 +\f\r
2186 message}\r
2187 +\f\r
2188 message{ id:87fx8can9z.fsf@vertex.dottedmag depth:3 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/09:2,\r
2189 +\f\r
2190 header{\r
2191 +"Mikhail Gusarov" <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)\r
2192 +Subject: [notmuch] Working with Maildir storage?\r
2193 +From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
2194 +To: notmuch@notmuchmail.org\r
2195 +Date: Wed, 18 Nov 2009 02:50:48 +0600\r
2196 +\f\r
2197 header}\r
2198 +\f\r
2199 body{\r
2200 +\f\r
2201 part{ ID: 1, Content-type: text/plain\r
2202 +\r
2203 +Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
2204 +\r
2205 + LK> Is the list archived anywhere?  The obvious archives\r
2206 + LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
2207 + LK> think I subscribed too late to get the patch (I only just saw the\r
2208 + LK> discussion about it).\r
2209 +\r
2210 + LK> It doesn't look like the patch is in git yet.\r
2211 +\r
2212 +Just has been pushed\r
2213 +\r
2214 +-- \r
2215 +  http://fossarchy.blogspot.com/\r
2216 +-------------- next part --------------\r
2217 +A non-text attachment was scrubbed...\r
2218 +Name: not available\r
2219 +Type: application/pgp-signature\r
2220 +Size: 834 bytes\r
2221 +Desc: not available\r
2222 +URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
2223 +\r
2224 +\f\r
2225 part}\r
2226 +\f\r
2227 body}\r
2228 +\f\r
2229 message}\r
2230 +\f\r
2231 message{ id:yunaayketfm.fsf@aiko.keithp.com depth:3 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/12:2,\r
2232 +\f\r
2233 header{\r
2234 +"Keith Packard" <keithp@keithp.com> (2009-11-17) (inbox unread)\r
2235 +Subject: [notmuch] Working with Maildir storage?\r
2236 +From: Keith Packard <keithp@keithp.com>\r
2237 +To: notmuch@notmuchmail.org\r
2238 +Date: Tue, 17 Nov 2009 13:24:13 -0800\r
2239 +\f\r
2240 header}\r
2241 +\f\r
2242 body{\r
2243 +\f\r
2244 part{ ID: 1, Content-type: text/plain\r
2245 +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
2246 +> > See the patch just posted here.\r
2247 +\r
2248 +I've also pushed a slightly more complicated (and complete) fix to my\r
2249 +private notmuch repository\r
2250 +\r
2251 +git://keithp.com/git/notmuch\r
2252 +\r
2253 +> Is the list archived anywhere?\r
2254 +\r
2255 +Oops. Looks like Carl's mail server is broken. He's traveling to\r
2256 +Barcelona today and so it won't get fixed for a while.\r
2257 +\r
2258 +Thanks to everyone for trying out notmuch!\r
2259 +\r
2260 +-keith\r
2261 +\r
2262 +\f\r
2263 part}\r
2264 +\f\r
2265 body}\r
2266 +\f\r
2267 message}\r
2268 +\f\r
2269 message{ id:20091118005040.GA25380@dottiness.seas.harvard.edu depth:4 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/22:2,\r
2270 +\f\r
2271 header{\r
2272 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)\r
2273 +Subject: Re: [notmuch] Working with Maildir storage?\r
2274 +From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
2275 +To: Keith Packard <keithp@keithp.com>\r
2276 +Cc: notmuch@notmuchmail.org\r
2277 +Date: Tue, 17 Nov 2009 19:50:40 -0500\r
2278 +\f\r
2279 header}\r
2280 +\f\r
2281 body{\r
2282 +\f\r
2283 part{ ID: 1, Content-type: multipart/mixed\r
2284 +\f\r
2285 part{ ID: 2, Content-type: multipart/signed\r
2286 +\f\r
2287 part{ ID: 3, Content-type: text/plain\r
2288 +> I've also pushed a slightly more complicated (and complete) fix to my\r
2289 +> private notmuch repository\r
2290 +\r
2291 +The version of lib/messages.cc in your repo doesn't build because it's\r
2292 +missing "#include <stdint.h>" (for the uint32_t on line 466).\r
2293 +\r
2294 +-- \r
2295 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
2296 +Senior Technologist, Computing and Information Technology\r
2297 +Harvard University School of Engineering and Applied Sciences\r
2298 +\r
2299 +\f\r
2300 part}\r
2301 +\f\r
2302 part{ ID: 4, Content-type: application/pgp-signature\r
2303 +Non-text part: application/pgp-signature\r
2304 +\f\r
2305 part}\r
2306 +\f\r
2307 part}\r
2308 +\f\r
2309 part{ ID: 5, Content-type: text/plain\r
2310 +_______________________________________________\r
2311 +notmuch mailing list\r
2312 +notmuch@notmuchmail.org\r
2313 +http://notmuchmail.org/mailman/listinfo/notmuch\r
2314 +\f\r
2315 part}\r
2316 +\f\r
2317 part}\r
2318 +\f\r
2319 body}\r
2320 +\f\r
2321 message}\r
2322 +\f\r
2323 message{ id:87ocn0qh6d.fsf@yoom.home.cworth.org depth:1 match:1 excluded:0 filename:/home/mjw1009/notmuch/notmuch-latest-git/test/tmp.show/mail/cur/41:2,\r
2324 +\f\r
2325 header{\r
2326 +"Carl Worth" <cworth@cworth.org> (2009-11-18) (inbox unread)\r
2327 +Subject: [notmuch] Working with Maildir storage?\r
2328 +From: Carl Worth <cworth@cworth.org>\r
2329 +To: notmuch@notmuchmail.org\r
2330 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
2331 +\f\r
2332 header}\r
2333 +\f\r
2334 body{\r
2335 +\f\r
2336 part{ ID: 1, Content-type: text/plain\r
2337 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
2338 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
2339 +> currently using mutt and mairix to index and read a collection of\r
2340 +> Maildir mail folders (around 40,000 messages total).\r
2341 +\r
2342 +Welcome, Lars!\r
2343 +\r
2344 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
2345 +That's very interesting. So, thanks for coming and trying out notmuch.\r
2346 +\r
2347 +>   Error opening\r
2348 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
2349 +>   Too many open files\r
2350 +\r
2351 +Sadly, the lwn article coincided with me having just introduced this\r
2352 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
2353 +fairly quickly, but there was quite a bit of latency before I could push\r
2354 +the fix out. It should be fixed now.\r
2355 +\r
2356 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
2357 +> with Maildir) or if something else is going on.\r
2358 +\r
2359 +Notmuch works just fine with maildir---it's one of the things that it\r
2360 +likes the best.\r
2361 +\r
2362 +Happy hacking,\r
2363 +\r
2364 +-Carl\r
2365 +\r
2366 +\f\r
2367 part}\r
2368 +\f\r
2369 body}\r
2370 +\f\r
2371 message}\r
2372 -- \r
2373 1.7.9.1\r
2374 \r