[PATCH 1/2] test: show expected output files
authorMark Walters <markwalters1009@gmail.com>
Mon, 19 Mar 2012 15:31:00 +0000 (15:31 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:37 +0000 (09:45 -0800)
d3/e5dc6f2e238674d3cd35e6a3aaac0f057fcc38 [new file with mode: 0644]

diff --git a/d3/e5dc6f2e238674d3cd35e6a3aaac0f057fcc38 b/d3/e5dc6f2e238674d3cd35e6a3aaac0f057fcc38
new file mode 100644 (file)
index 0000000..af074cf
--- /dev/null
@@ -0,0 +1,2374 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 33276429E30\r
+       for <notmuch@notmuchmail.org>; Mon, 19 Mar 2012 08:31:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id jZW-fvc2FAQn for <notmuch@notmuchmail.org>;\r
+       Mon, 19 Mar 2012 08:31:14 -0700 (PDT)\r
+Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com\r
+       [209.85.212.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 53345431FDA\r
+       for <notmuch@notmuchmail.org>; Mon, 19 Mar 2012 08:31:14 -0700 (PDT)\r
+Received: by wibhm17 with SMTP id hm17so3554324wib.2\r
+       for <notmuch@notmuchmail.org>; Mon, 19 Mar 2012 08:31:13 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
+       bh=2FIf6B8R0E486t1m1/w31DSMMM/y3r9Py1wMSio5NT0=;\r
+       b=VTqbU/sL5rVrsmfQLtmTJ726Nqwt8+cAd17uAIBSOQWc4haKy9fUz9sM8yAvCNGqYl\r
+       89ppjCbFJWvGmvLwhrt/txYo5lUwphFhYzNmL1nwm5rJT8cDBl6A5ovl6zjiNxspU4Td\r
+       8PYrBsTEZMENZ9H1MTmwqkQxafEaggseXWnfJaQ2Hyq4Qh1uJVXRBcyGP7dMQKRIe2zp\r
+       6EJnYHHBLnlci7ScH2ewVRiooFCXLWIlkzbqsBuK8d2WxrIoHAZxvj7pTV6qoYudfixL\r
+       6wqzL/78od4+z92G6UwR5sGl5cwELJqVhQ8xKcUgtoU/rvHQhVhW4py/pd49gNRrz9/u\r
+       Tm2g==\r
+Received: by 10.216.194.81 with SMTP id l59mr6778788wen.42.1332171072526;\r
+       Mon, 19 Mar 2012 08:31:12 -0700 (PDT)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223])     by mx.google.com with ESMTPS id\r
+ fn2sm29318498wib.0.2012.03.19.08.31.04        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 19 Mar 2012 08:31:06 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/2] test: show expected output files\r
+Date: Mon, 19 Mar 2012 15:31:00 +0000\r
+Message-Id: <1332171061-27983-2-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1332171061-27983-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1332171061-27983-1-git-send-email-markwalters1009@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 19 Mar 2012 15:31:32 -0000\r
+\r
+---\r
+ .../single-thread-and-query-entire-thread-json     |  164 +++++++\r
+ .../single-thread-and-query-entire-thread-mbox     |  459 ++++++++++++++++++++\r
+ .../single-thread-and-query-entire-thread-text     |  278 ++++++++++++\r
+ .../single-thread-and-query-json                   |  164 +++++++\r
+ .../single-thread-and-query-mbox                   |   39 ++\r
+ .../single-thread-and-query-text                   |   42 ++\r
+ test/show.expected-output/single-thread-json       |  164 +++++++\r
+ test/show.expected-output/single-thread-mbox       |  459 ++++++++++++++++++++\r
+ test/show.expected-output/single-thread-text       |  278 ++++++++++++\r
+ 9 files changed, 2047 insertions(+), 0 deletions(-)\r
+ create mode 100644 test/show.expected-output/single-thread-and-query-entire-thread-json\r
+ create mode 100644 test/show.expected-output/single-thread-and-query-entire-thread-mbox\r
+ create mode 100644 test/show.expected-output/single-thread-and-query-entire-thread-text\r
+ create mode 100644 test/show.expected-output/single-thread-and-query-json\r
+ create mode 100644 test/show.expected-output/single-thread-and-query-mbox\r
+ create mode 100644 test/show.expected-output/single-thread-and-query-text\r
+ create mode 100644 test/show.expected-output/single-thread-json\r
+ create mode 100644 test/show.expected-output/single-thread-mbox\r
+ create mode 100644 test/show.expected-output/single-thread-text\r
+\r
+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
+new file mode 100644\r
+index 0000000..290858b\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-and-query-entire-thread-json\r
+@@ -0,0 +1,164 @@\r
++[[[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258484454,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 14:00:54 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ but my attempt at\nsearching bombed out. Running,\r
++ 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
++ 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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258484558,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 01:02:38 +0600"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258489981,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "Cc": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 15:33:01 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ 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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258491048,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 02:50:48 +0600"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "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
++ 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
++ []],\r
++ [{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258493053,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Keith Packard <keithp@keithp.com>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 13:24:13 -0800"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "content": "On Tue,\r
++ 17 Nov 2009 15:33:01 -0500,\r
++ 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
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258505440,\r
++ "date_relative": "2009-11-18",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "Keith Packard <keithp@keithp.com>",\r
++ "Cc": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 19:50:40 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ []]]]]]]],\r
++ [{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258538890,\r
++ "date_relative": "2009-11-18",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Carl Worth <cworth@cworth.org>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 02:08:10 -0800"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "content": "On Tue,\r
++ 17 Nov 2009 14:00:54 -0500,\r
++ 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
++ 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
++ 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
++ the lwn article coincided with me having just introduced this\nbug,\r
++ and then getting on a Trans-Atlantic flight. So I fixed the bug\nfairly quickly,\r
++ 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
++ 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
++ []]]]]]\r
+\ No newline at end of file\r
+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
+new file mode 100644\r
+index 0000000..dd9e0d4\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-and-query-entire-thread-mbox\r
+@@ -0,0 +1,459 @@\r
++From lars@seas.harvard.edu Tue Nov 17 19:00:54 2009\r
++Date: Tue, 17 Nov 2009 14:00:54 -0500\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: notmuch@notmuchmail.org\r
++Message-ID: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++MIME-Version: 1.0\r
++User-Agent: Mutt/1.5.19 (2009-01-05)\r
++Subject: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============1685355122=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++\r
++--===============1685355122==\r
++Content-Type: multipart/signed; micalg=pgp-sha256;\r
++      protocol="application/pgp-signature"; boundary="5Dr6Wqe9hdyl7LAI"\r
++Content-Disposition: inline\r
++\r
++\r
++--5Dr6Wqe9hdyl7LAI\r
++Content-Type: text/plain; charset=us-ascii\r
++Content-Disposition: inline\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++I saw the LWN article and decided to take a look at notmuch.  I'm\r
++currently using mutt and mairix to index and read a collection of\r
++Maildir mail folders (around 40,000 messages total).\r
++\r
++notmuch indexed the messages without complaint, but my attempt at\r
++searching bombed out. Running, for example:\r
++\r
++  notmuch search storage\r
++\r
++Resulted in 4604 lines of errors along the lines of:\r
++\r
++  Error opening\r
++  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=\r
++=3D3026:2,S:\r
++  Too many open files\r
++\r
++I'm curious if this is expected behavior (i.e., notmuch does not work\r
++with Maildir) or if something else is going on.\r
++\r
++Cheers,\r
++\r
++--=20\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\r
++--5Dr6Wqe9hdyl7LAI\r
++Content-Type: application/pgp-signature\r
++Content-Disposition: inline\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQEcBAEBCAAGBQJLAvLmAAoJENdGlQYxQazYRtcH/0usClQ1Z+EoTsA+URwIK6hD\r
++FsZUxFxRjMuOQRn2idZ/zhhg5jJj11ZaHjqxSkDvi2ywkTKUf1vX9LLzVy5hSR9M\r
++E6XQUd5QWAQXo1VsTeKkukIL0YqsPjdgrT8+Yt+OS2NvhEncql23oxnL2/pHkIFq\r
++r0NdTmVV5Jcar7w9J6X1Mi9m229a/9jV5FImsWISkIhIWznXU5SiU6zIw8xhP4E0\r
++xhvVSNJnFryjVHtva870aSQduhHfeLPzpYhqbkMPvlq+bcz6Q/Q2SwxJcGLNMPHa\r
++os9s9FGhCvFKUhVzezHWPgXNCcNT8qK89rcUldb5Oq4jaJb8RCZCYABplfoyaFs=\r
++=vO4s\r
++-----END PGP SIGNATURE-----\r
++\r
++--5Dr6Wqe9hdyl7LAI--\r
++\r
++--===============1685355122==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============1685355122==--\r
++\r
++\r
++From dottedmag@dottedmag.net Tue Nov 17 19:02:38 2009\r
++From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++Date: Wed, 18 Nov 2009 01:02:38 +0600\r
++In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu> (Lars\r
++      Kellogg-Stedman's message of "Tue, 17 Nov 2009 14:00:54 -0500")\r
++Message-ID: <87iqd9rn3l.fsf@vertex.dottedmag>\r
++User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)\r
++MIME-Version: 1.0\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============1958295626=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++--===============1958295626==\r
++Content-Type: multipart/signed; boundary="=-=-=";\r
++      micalg=pgp-sha1; protocol="application/pgp-signature"\r
++\r
++--=-=-=\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++\r
++Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did g=\r
++yre and gimble:\r
++\r
++ LK> Resulted in 4604 lines of errors along the lines of:\r
++\r
++ LK>   Error opening\r
++ LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostna=\r
++me,U=3D3026:2,S:\r
++ LK>   Too many open files\r
++\r
++See the patch just posted here.\r
++\r
++=2D-=20\r
++  http://fossarchy.blogspot.com/\r
++\r
++--=-=-=\r
++Content-Type: application/pgp-signature\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQIcBAEBAgAGBQJLAvNOAAoJEJ0g9lA+M4iIjLYQAKp0PXEgl3JMOEBisH52AsIK\r
++CzzfP4Fzd41K9VH/c1EdQWDYR6FCAA4IUSNICnJhITsYUb0eC5AKJiey3JP0+rmd\r
++s4qEFBKH2iuphv8Llltcv2Q8DyPuJBkVa3mO9XCCeABZ6v4UvnTSWRVG12csSEih\r
++ScgienU8sMrM9LwvvVI1ZB2flm2TzsH2hWi30jIgmtBntIKJaTgbFXB50FYFwULa\r
++gGL/oH3u+YpumedWzPZdCJrw2q7nMvYx8aQ29EDCNLZibAZe+6oDTa6Fv6/0ldpQ\r
++U+DptR0nJGbJTWa26OTSvmyeIORjAfM+TEI68n7KO9VHYPmVh6awcf0MNKYh2xWk\r
++eRQNBcKyQNWxeKyCCpT/rrTlpxBWahpvg+V8lkDH2W09wjRp6CUKvifK3Sz3am9m\r
++5ZUMpvXbwkZD6Ci6l/QytbYK50e8UpvFSu5DBaxBz59ykoypuNg2ayO5Kdi6IF5d\r
++T+Sw6wo8UKn9a33+vheIc0fkhZXbeSotEmDm7huazm6CgM3dcWXUpTuJvik1cSWp\r
++4buv98gY6IKWKoUTXODWUr+7VR4gei8du8qOsKem+QDfNX7tmaIRjhrbB24B91Wy\r
++td3MTJD7GjMNid0INqRY1CRMLo8YlPaq6NBZfcYtYgwa6gpJijz1/MAn8+GMrfhF\r
++9LI8b9jopNP+pMYBohLA\r
++=/ksP\r
++-----END PGP SIGNATURE-----\r
++--=-=-=--\r
++\r
++--===============1958295626==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============1958295626==--\r
++\r
++\r
++From lars@seas.harvard.edu Tue Nov 17 20:33:01 2009\r
++Date: Tue, 17 Nov 2009 15:33:01 -0500\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++Message-ID: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++MIME-Version: 1.0\r
++In-Reply-To: <87iqd9rn3l.fsf@vertex.dottedmag>\r
++User-Agent: Mutt/1.5.19 (2009-01-05)\r
++Cc: notmuch@notmuchmail.org\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============0063752545=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++\r
++--===============0063752545==\r
++Content-Type: multipart/signed; micalg=pgp-sha256;\r
++      protocol="application/pgp-signature"; boundary="GGxZz/e2pmGePzrA"\r
++Content-Disposition: inline\r
++\r
++\r
++--GGxZz/e2pmGePzrA\r
++Content-Type: text/plain; charset=us-ascii\r
++Content-Disposition: inline\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++> See the patch just posted here.\r
++\r
++Is the list archived anywhere?  The obvious archives\r
++(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++think I subscribed too late to get the patch (I only just saw the\r
++discussion about it).\r
++\r
++It doesn't look like the patch is in git yet.\r
++\r
++-- Lars\r
++\r
++--=20\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\r
++--GGxZz/e2pmGePzrA\r
++Content-Type: application/pgp-signature\r
++Content-Disposition: inline\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQEcBAEBCAAGBQJLAwh9AAoJENdGlQYxQazYHJMIAI+XTPOyBTZIxEGTdgVKd2fR\r
++k27ucKs6lXozfMIIGchNUDXQho+KmiuTfX1XFJeBkqOlhrd9zlGjBGoBM0YBq/Gs\r
++aStPdonREzsHORjmyQCCpjg4AcqCRTXFbDXzAeXlxMPOrZ3P0XNPzTEM1mVksbmg\r
++mBBDLdHncy4sSCfFgXwRGGgLv9z5Acqm8xGYr68c9PIXY939ozIKV9LVUhxiNz9g\r
++We2a9rLDhfwxUqDlGdiNwZZimiKvD/fsYSrBZMDb5HgIYkeNZ4SD8Xu+OgB550wN\r
++OFfwGi3o8WFK2AyDe5QJDh9Ub+euPNlVzePoGpkltZEHuCcLFJqCHv5XYpbxcjA=\r
++=GO2Q\r
++-----END PGP SIGNATURE-----\r
++\r
++--GGxZz/e2pmGePzrA--\r
++\r
++--===============0063752545==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============0063752545==--\r
++\r
++\r
++From dottedmag@dottedmag.net Tue Nov 17 20:50:48 2009\r
++From: "Mikhail Gusarov" <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:50:48 +0600\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu> (Lars\r
++      Kellogg-Stedman's message of "Tue, 17 Nov 2009 15:33:01 -0500")\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++      <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++Message-ID: <87fx8can9z.fsf@vertex.dottedmag>\r
++\r
++\r
++Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
++\r
++ LK> Is the list archived anywhere?  The obvious archives\r
++ LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++ LK> think I subscribed too late to get the patch (I only just saw the\r
++ LK> discussion about it).\r
++\r
++ LK> It doesn't look like the patch is in git yet.\r
++\r
++Just has been pushed\r
++\r
++-- \r
++  http://fossarchy.blogspot.com/\r
++-------------- next part --------------\r
++A non-text attachment was scrubbed...\r
++Name: not available\r
++Type: application/pgp-signature\r
++Size: 834 bytes\r
++Desc: not available\r
++URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
++\r
++\r
++From keithp@keithp.com Tue Nov 17 21:24:13 2009\r
++From: "Keith Packard" <keithp@keithp.com>\r
++To: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 13:24:13 -0800\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++      <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++Message-ID: <yunaayketfm.fsf@aiko.keithp.com>\r
++\r
++On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> > See the patch just posted here.\r
++\r
++I've also pushed a slightly more complicated (and complete) fix to my\r
++private notmuch repository\r
++\r
++git://keithp.com/git/notmuch\r
++\r
++> Is the list archived anywhere?\r
++\r
++Oops. Looks like Carl's mail server is broken. He's traveling to\r
++Barcelona today and so it won't get fixed for a while.\r
++\r
++Thanks to everyone for trying out notmuch!\r
++\r
++-keith\r
++\r
++\r
++From lars@seas.harvard.edu Wed Nov 18 00:50:40 2009\r
++Date: Tue, 17 Nov 2009 19:50:40 -0500\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Keith Packard <keithp@keithp.com>\r
++Message-ID: <20091118005040.GA25380@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++      <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++      <yunaayketfm.fsf@aiko.keithp.com>\r
++MIME-Version: 1.0\r
++In-Reply-To: <yunaayketfm.fsf@aiko.keithp.com>\r
++User-Agent: Mutt/1.5.19 (2009-01-05)\r
++Cc: notmuch@notmuchmail.org\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============1483126515=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++\r
++--===============1483126515==\r
++Content-Type: multipart/signed; micalg=pgp-sha256;\r
++      protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj"\r
++Content-Disposition: inline\r
++\r
++\r
++--9amGYk9869ThD9tj\r
++Content-Type: text/plain; charset=us-ascii\r
++Content-Disposition: inline\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++> I've also pushed a slightly more complicated (and complete) fix to my\r
++> private notmuch repository\r
++\r
++The version of lib/messages.cc in your repo doesn't build because it's\r
++missing "#include <stdint.h>" (for the uint32_t on line 466).\r
++\r
++--=20\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\r
++--9amGYk9869ThD9tj\r
++Content-Type: application/pgp-signature\r
++Content-Disposition: inline\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQEcBAEBCAAGBQJLA0TgAAoJENdGlQYxQazYsG0IAJ1t9h4Q3ma8z8ejeKR22Xh0\r
++WcuRX2x9yEXy/+aG9W7Mot0mqUQCiLdmHM/2h5N9BFHyJvfOUf8lmssrJ5OS/kp5\r
++j7FIx3GUELBmEZqFUPjRSQPk1hZURYdRsloKkrbQ2kAivjjb50zAAQ8Av4Cgj6cS\r
++3HvNNmeVfJt1NS75vm+/wn48M8Vrcdv4gvNlSOhgFOixknvRoxSyNDOHYBKvHnSV\r
++2HnO0GzhAQzDZAwdHBzJtb8vRmglrH33TVdrE7OW+sojYB3Wyz8r9+HIt8Q8ovzX\r
++nQ8p0Nf5DlF7tye3JYo0EeNm5EQJ4q0YyVYInhmtpi3A5Cyu50GcB/GZ5Sd6ajo=\r
++=WULe\r
++-----END PGP SIGNATURE-----\r
++\r
++--9amGYk9869ThD9tj--\r
++\r
++--===============1483126515==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============1483126515==--\r
++\r
++\r
++From cworth@cworth.org Wed Nov 18 10:08:10 2009\r
++From: "Carl Worth" <cworth@cworth.org>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:08:10 -0800\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++Message-ID: <87ocn0qh6d.fsf@yoom.home.cworth.org>\r
++\r
++On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> I saw the LWN article and decided to take a look at notmuch.  I'm\r
++> currently using mutt and mairix to index and read a collection of\r
++> Maildir mail folders (around 40,000 messages total).\r
++\r
++Welcome, Lars!\r
++\r
++I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
++That's very interesting. So, thanks for coming and trying out notmuch.\r
++\r
++>   Error opening\r
++>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++>   Too many open files\r
++\r
++Sadly, the lwn article coincided with me having just introduced this\r
++bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
++fairly quickly, but there was quite a bit of latency before I could push\r
++the fix out. It should be fixed now.\r
++\r
++> I'm curious if this is expected behavior (i.e., notmuch does not work\r
++> with Maildir) or if something else is going on.\r
++\r
++Notmuch works just fine with maildir---it's one of the things that it\r
++likes the best.\r
++\r
++Happy hacking,\r
++\r
++-Carl\r
++\r
++\r
+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
+new file mode 100644\r
+index 0000000..c186ef7\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-and-query-entire-thread-text\r
+@@ -0,0 +1,278 @@\r
++\f\r
+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
++\f\r
+header{\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 14:00:54 -0500\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++I saw the LWN article and decided to take a look at notmuch.  I'm\r
++currently using mutt and mairix to index and read a collection of\r
++Maildir mail folders (around 40,000 messages total).\r
++\r
++notmuch indexed the messages without complaint, but my attempt at\r
++searching bombed out. Running, for example:\r
++\r
++  notmuch search storage\r
++\r
++Resulted in 4604 lines of errors along the lines of:\r
++\r
++  Error opening\r
++  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++  Too many open files\r
++\r
++I'm curious if this is expected behavior (i.e., notmuch does not work\r
++with Maildir) or if something else is going on.\r
++\r
++Cheers,\r
++\r
++-- \r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 01:02:38 +0600\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++\r
++Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\r
++\r
++ LK> Resulted in 4604 lines of errors along the lines of:\r
++\r
++ LK>   Error opening\r
++ LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++ LK>   Too many open files\r
++\r
++See the patch just posted here.\r
++\r
++-- \r
++  http://fossarchy.blogspot.com/\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++Cc: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 15:33:01 -0500\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++> See the patch just posted here.\r
++\r
++Is the list archived anywhere?  The obvious archives\r
++(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++think I subscribed too late to get the patch (I only just saw the\r
++discussion about it).\r
++\r
++It doesn't look like the patch is in git yet.\r
++\r
++-- Lars\r
++\r
++-- \r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++"Mikhail Gusarov" <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:50:48 +0600\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++\r
++Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
++\r
++ LK> Is the list archived anywhere?  The obvious archives\r
++ LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++ LK> think I subscribed too late to get the patch (I only just saw the\r
++ LK> discussion about it).\r
++\r
++ LK> It doesn't look like the patch is in git yet.\r
++\r
++Just has been pushed\r
++\r
++-- \r
++  http://fossarchy.blogspot.com/\r
++-------------- next part --------------\r
++A non-text attachment was scrubbed...\r
++Name: not available\r
++Type: application/pgp-signature\r
++Size: 834 bytes\r
++Desc: not available\r
++URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++"Keith Packard" <keithp@keithp.com> (2009-11-17) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Keith Packard <keithp@keithp.com>\r
++To: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 13:24:13 -0800\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> > See the patch just posted here.\r
++\r
++I've also pushed a slightly more complicated (and complete) fix to my\r
++private notmuch repository\r
++\r
++git://keithp.com/git/notmuch\r
++\r
++> Is the list archived anywhere?\r
++\r
++Oops. Looks like Carl's mail server is broken. He's traveling to\r
++Barcelona today and so it won't get fixed for a while.\r
++\r
++Thanks to everyone for trying out notmuch!\r
++\r
++-keith\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Keith Packard <keithp@keithp.com>\r
++Cc: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 19:50:40 -0500\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++> I've also pushed a slightly more complicated (and complete) fix to my\r
++> private notmuch repository\r
++\r
++The version of lib/messages.cc in your repo doesn't build because it's\r
++missing "#include <stdint.h>" (for the uint32_t on line 466).\r
++\r
++-- \r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++"Carl Worth" <cworth@cworth.org> (2009-11-18) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Carl Worth <cworth@cworth.org>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:08:10 -0800\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> I saw the LWN article and decided to take a look at notmuch.  I'm\r
++> currently using mutt and mairix to index and read a collection of\r
++> Maildir mail folders (around 40,000 messages total).\r
++\r
++Welcome, Lars!\r
++\r
++I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
++That's very interesting. So, thanks for coming and trying out notmuch.\r
++\r
++>   Error opening\r
++>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++>   Too many open files\r
++\r
++Sadly, the lwn article coincided with me having just introduced this\r
++bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
++fairly quickly, but there was quite a bit of latency before I could push\r
++the fix out. It should be fixed now.\r
++\r
++> I'm curious if this is expected behavior (i.e., notmuch does not work\r
++> with Maildir) or if something else is going on.\r
++\r
++Notmuch works just fine with maildir---it's one of the things that it\r
++likes the best.\r
++\r
++Happy hacking,\r
++\r
++-Carl\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
+diff --git a/test/show.expected-output/single-thread-and-query-json b/test/show.expected-output/single-thread-and-query-json\r
+new file mode 100644\r
+index 0000000..290858b\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-and-query-json\r
+@@ -0,0 +1,164 @@\r
++[[[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258484454,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 14:00:54 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ but my attempt at\nsearching bombed out. Running,\r
++ 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
++ 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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258484558,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 01:02:38 +0600"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258489981,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "Cc": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 15:33:01 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ 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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258491048,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 02:50:48 +0600"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "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
++ 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
++ []],\r
++ [{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258493053,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Keith Packard <keithp@keithp.com>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 13:24:13 -0800"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "content": "On Tue,\r
++ 17 Nov 2009 15:33:01 -0500,\r
++ 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
++ [[{"id": "XXXXX",\r
++ "match": false,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258505440,\r
++ "date_relative": "2009-11-18",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "Keith Packard <keithp@keithp.com>",\r
++ "Cc": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 19:50:40 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ []]]]]]]],\r
++ [{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258538890,\r
++ "date_relative": "2009-11-18",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Carl Worth <cworth@cworth.org>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 02:08:10 -0800"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "content": "On Tue,\r
++ 17 Nov 2009 14:00:54 -0500,\r
++ 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
++ 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
++ 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
++ the lwn article coincided with me having just introduced this\nbug,\r
++ and then getting on a Trans-Atlantic flight. So I fixed the bug\nfairly quickly,\r
++ 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
++ 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
++ []]]]]]\r
+\ No newline at end of file\r
+diff --git a/test/show.expected-output/single-thread-and-query-mbox b/test/show.expected-output/single-thread-and-query-mbox\r
+new file mode 100644\r
+index 0000000..a5d3af4\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-and-query-mbox\r
+@@ -0,0 +1,39 @@\r
++From cworth@cworth.org Wed Nov 18 10:08:10 2009\r
++From: "Carl Worth" <cworth@cworth.org>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:08:10 -0800\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++Message-ID: <87ocn0qh6d.fsf@yoom.home.cworth.org>\r
++\r
++On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> I saw the LWN article and decided to take a look at notmuch.  I'm\r
++> currently using mutt and mairix to index and read a collection of\r
++> Maildir mail folders (around 40,000 messages total).\r
++\r
++Welcome, Lars!\r
++\r
++I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
++That's very interesting. So, thanks for coming and trying out notmuch.\r
++\r
++>   Error opening\r
++>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++>   Too many open files\r
++\r
++Sadly, the lwn article coincided with me having just introduced this\r
++bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
++fairly quickly, but there was quite a bit of latency before I could push\r
++the fix out. It should be fixed now.\r
++\r
++> I'm curious if this is expected behavior (i.e., notmuch does not work\r
++> with Maildir) or if something else is going on.\r
++\r
++Notmuch works just fine with maildir---it's one of the things that it\r
++likes the best.\r
++\r
++Happy hacking,\r
++\r
++-Carl\r
++\r
++\r
+diff --git a/test/show.expected-output/single-thread-and-query-text b/test/show.expected-output/single-thread-and-query-text\r
+new file mode 100644\r
+index 0000000..6ae854a\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-and-query-text\r
+@@ -0,0 +1,42 @@\r
++\f\r
+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
++\f\r
+header{\r
++"Carl Worth" <cworth@cworth.org> (2009-11-18) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Carl Worth <cworth@cworth.org>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:08:10 -0800\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> I saw the LWN article and decided to take a look at notmuch.  I'm\r
++> currently using mutt and mairix to index and read a collection of\r
++> Maildir mail folders (around 40,000 messages total).\r
++\r
++Welcome, Lars!\r
++\r
++I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
++That's very interesting. So, thanks for coming and trying out notmuch.\r
++\r
++>   Error opening\r
++>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++>   Too many open files\r
++\r
++Sadly, the lwn article coincided with me having just introduced this\r
++bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
++fairly quickly, but there was quite a bit of latency before I could push\r
++the fix out. It should be fixed now.\r
++\r
++> I'm curious if this is expected behavior (i.e., notmuch does not work\r
++> with Maildir) or if something else is going on.\r
++\r
++Notmuch works just fine with maildir---it's one of the things that it\r
++likes the best.\r
++\r
++Happy hacking,\r
++\r
++-Carl\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
+diff --git a/test/show.expected-output/single-thread-json b/test/show.expected-output/single-thread-json\r
+new file mode 100644\r
+index 0000000..3aa3fd6\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-json\r
+@@ -0,0 +1,164 @@\r
++[[[{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258484454,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 14:00:54 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ but my attempt at\nsearching bombed out. Running,\r
++ 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
++ 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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258484558,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 01:02:38 +0600"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258489981,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "Cc": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 15:33:01 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ 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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ [[{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258491048,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Mikhail Gusarov <dottedmag@dottedmag.net>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 02:50:48 +0600"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "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
++ 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
++ []],\r
++ [{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258493053,\r
++ "date_relative": "2009-11-17",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Keith Packard <keithp@keithp.com>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 13:24:13 -0800"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "content": "On Tue,\r
++ 17 Nov 2009 15:33:01 -0500,\r
++ 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
++ [[{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258505440,\r
++ "date_relative": "2009-11-18",\r
++ "tags": ["inbox","signed","unread"],\r
++ "headers": {"Subject": "Re: [notmuch] Working with Maildir storage?",\r
++ "From": "Lars Kellogg-Stedman <lars@seas.harvard.edu>",\r
++ "To": "Keith Packard <keithp@keithp.com>",\r
++ "Cc": "notmuch@notmuchmail.org",\r
++ "Date": "Tue,\r
++ 17 Nov 2009 19:50:40 -0500"},\r
++ "body": [{"id": 1,\r
++ "content-type": "multipart/mixed",\r
++ "content": [{"id": 2,\r
++ "content-type": "multipart/signed",\r
++ "content": [{"id": 3,\r
++ "content-type": "text/plain",\r
++ "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
++ Computing and Information Technology\nHarvard University School of Engineering and Applied Sciences\n\n"},\r
++ {"id": 4,\r
++ "content-type": "application/pgp-signature"}]},\r
++ {"id": 5,\r
++ "content-type": "text/plain",\r
++ "content": "_______________________________________________\nnotmuch mailing list\nnotmuch@notmuchmail.org\nhttp://notmuchmail.org/mailman/listinfo/notmuch\n"}]}]},\r
++ []]]]]]]],\r
++ [{"id": "XXXXX",\r
++ "match": true,\r
++ "excluded": false,\r
++ "filename": "YYYYY",\r
++ "timestamp": 1258538890,\r
++ "date_relative": "2009-11-18",\r
++ "tags": ["inbox","unread"],\r
++ "headers": {"Subject": "[notmuch] Working with Maildir storage?",\r
++ "From": "Carl Worth <cworth@cworth.org>",\r
++ "To": "notmuch@notmuchmail.org",\r
++ "Date": "Wed,\r
++ 18 Nov 2009 02:08:10 -0800"},\r
++ "body": [{"id": 1,\r
++ "content-type": "text/plain",\r
++ "content": "On Tue,\r
++ 17 Nov 2009 14:00:54 -0500,\r
++ 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
++ 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
++ 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
++ the lwn article coincided with me having just introduced this\nbug,\r
++ and then getting on a Trans-Atlantic flight. So I fixed the bug\nfairly quickly,\r
++ 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
++ 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
++ []]]]]]\r
+\ No newline at end of file\r
+diff --git a/test/show.expected-output/single-thread-mbox b/test/show.expected-output/single-thread-mbox\r
+new file mode 100644\r
+index 0000000..dd9e0d4\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-mbox\r
+@@ -0,0 +1,459 @@\r
++From lars@seas.harvard.edu Tue Nov 17 19:00:54 2009\r
++Date: Tue, 17 Nov 2009 14:00:54 -0500\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: notmuch@notmuchmail.org\r
++Message-ID: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++MIME-Version: 1.0\r
++User-Agent: Mutt/1.5.19 (2009-01-05)\r
++Subject: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============1685355122=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++\r
++--===============1685355122==\r
++Content-Type: multipart/signed; micalg=pgp-sha256;\r
++      protocol="application/pgp-signature"; boundary="5Dr6Wqe9hdyl7LAI"\r
++Content-Disposition: inline\r
++\r
++\r
++--5Dr6Wqe9hdyl7LAI\r
++Content-Type: text/plain; charset=us-ascii\r
++Content-Disposition: inline\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++I saw the LWN article and decided to take a look at notmuch.  I'm\r
++currently using mutt and mairix to index and read a collection of\r
++Maildir mail folders (around 40,000 messages total).\r
++\r
++notmuch indexed the messages without complaint, but my attempt at\r
++searching bombed out. Running, for example:\r
++\r
++  notmuch search storage\r
++\r
++Resulted in 4604 lines of errors along the lines of:\r
++\r
++  Error opening\r
++  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=\r
++=3D3026:2,S:\r
++  Too many open files\r
++\r
++I'm curious if this is expected behavior (i.e., notmuch does not work\r
++with Maildir) or if something else is going on.\r
++\r
++Cheers,\r
++\r
++--=20\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\r
++--5Dr6Wqe9hdyl7LAI\r
++Content-Type: application/pgp-signature\r
++Content-Disposition: inline\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQEcBAEBCAAGBQJLAvLmAAoJENdGlQYxQazYRtcH/0usClQ1Z+EoTsA+URwIK6hD\r
++FsZUxFxRjMuOQRn2idZ/zhhg5jJj11ZaHjqxSkDvi2ywkTKUf1vX9LLzVy5hSR9M\r
++E6XQUd5QWAQXo1VsTeKkukIL0YqsPjdgrT8+Yt+OS2NvhEncql23oxnL2/pHkIFq\r
++r0NdTmVV5Jcar7w9J6X1Mi9m229a/9jV5FImsWISkIhIWznXU5SiU6zIw8xhP4E0\r
++xhvVSNJnFryjVHtva870aSQduhHfeLPzpYhqbkMPvlq+bcz6Q/Q2SwxJcGLNMPHa\r
++os9s9FGhCvFKUhVzezHWPgXNCcNT8qK89rcUldb5Oq4jaJb8RCZCYABplfoyaFs=\r
++=vO4s\r
++-----END PGP SIGNATURE-----\r
++\r
++--5Dr6Wqe9hdyl7LAI--\r
++\r
++--===============1685355122==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============1685355122==--\r
++\r
++\r
++From dottedmag@dottedmag.net Tue Nov 17 19:02:38 2009\r
++From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++Date: Wed, 18 Nov 2009 01:02:38 +0600\r
++In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu> (Lars\r
++      Kellogg-Stedman's message of "Tue, 17 Nov 2009 14:00:54 -0500")\r
++Message-ID: <87iqd9rn3l.fsf@vertex.dottedmag>\r
++User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)\r
++MIME-Version: 1.0\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============1958295626=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++--===============1958295626==\r
++Content-Type: multipart/signed; boundary="=-=-=";\r
++      micalg=pgp-sha1; protocol="application/pgp-signature"\r
++\r
++--=-=-=\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++\r
++Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did g=\r
++yre and gimble:\r
++\r
++ LK> Resulted in 4604 lines of errors along the lines of:\r
++\r
++ LK>   Error opening\r
++ LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostna=\r
++me,U=3D3026:2,S:\r
++ LK>   Too many open files\r
++\r
++See the patch just posted here.\r
++\r
++=2D-=20\r
++  http://fossarchy.blogspot.com/\r
++\r
++--=-=-=\r
++Content-Type: application/pgp-signature\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQIcBAEBAgAGBQJLAvNOAAoJEJ0g9lA+M4iIjLYQAKp0PXEgl3JMOEBisH52AsIK\r
++CzzfP4Fzd41K9VH/c1EdQWDYR6FCAA4IUSNICnJhITsYUb0eC5AKJiey3JP0+rmd\r
++s4qEFBKH2iuphv8Llltcv2Q8DyPuJBkVa3mO9XCCeABZ6v4UvnTSWRVG12csSEih\r
++ScgienU8sMrM9LwvvVI1ZB2flm2TzsH2hWi30jIgmtBntIKJaTgbFXB50FYFwULa\r
++gGL/oH3u+YpumedWzPZdCJrw2q7nMvYx8aQ29EDCNLZibAZe+6oDTa6Fv6/0ldpQ\r
++U+DptR0nJGbJTWa26OTSvmyeIORjAfM+TEI68n7KO9VHYPmVh6awcf0MNKYh2xWk\r
++eRQNBcKyQNWxeKyCCpT/rrTlpxBWahpvg+V8lkDH2W09wjRp6CUKvifK3Sz3am9m\r
++5ZUMpvXbwkZD6Ci6l/QytbYK50e8UpvFSu5DBaxBz59ykoypuNg2ayO5Kdi6IF5d\r
++T+Sw6wo8UKn9a33+vheIc0fkhZXbeSotEmDm7huazm6CgM3dcWXUpTuJvik1cSWp\r
++4buv98gY6IKWKoUTXODWUr+7VR4gei8du8qOsKem+QDfNX7tmaIRjhrbB24B91Wy\r
++td3MTJD7GjMNid0INqRY1CRMLo8YlPaq6NBZfcYtYgwa6gpJijz1/MAn8+GMrfhF\r
++9LI8b9jopNP+pMYBohLA\r
++=/ksP\r
++-----END PGP SIGNATURE-----\r
++--=-=-=--\r
++\r
++--===============1958295626==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============1958295626==--\r
++\r
++\r
++From lars@seas.harvard.edu Tue Nov 17 20:33:01 2009\r
++Date: Tue, 17 Nov 2009 15:33:01 -0500\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++Message-ID: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++MIME-Version: 1.0\r
++In-Reply-To: <87iqd9rn3l.fsf@vertex.dottedmag>\r
++User-Agent: Mutt/1.5.19 (2009-01-05)\r
++Cc: notmuch@notmuchmail.org\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============0063752545=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++\r
++--===============0063752545==\r
++Content-Type: multipart/signed; micalg=pgp-sha256;\r
++      protocol="application/pgp-signature"; boundary="GGxZz/e2pmGePzrA"\r
++Content-Disposition: inline\r
++\r
++\r
++--GGxZz/e2pmGePzrA\r
++Content-Type: text/plain; charset=us-ascii\r
++Content-Disposition: inline\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++> See the patch just posted here.\r
++\r
++Is the list archived anywhere?  The obvious archives\r
++(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++think I subscribed too late to get the patch (I only just saw the\r
++discussion about it).\r
++\r
++It doesn't look like the patch is in git yet.\r
++\r
++-- Lars\r
++\r
++--=20\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\r
++--GGxZz/e2pmGePzrA\r
++Content-Type: application/pgp-signature\r
++Content-Disposition: inline\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQEcBAEBCAAGBQJLAwh9AAoJENdGlQYxQazYHJMIAI+XTPOyBTZIxEGTdgVKd2fR\r
++k27ucKs6lXozfMIIGchNUDXQho+KmiuTfX1XFJeBkqOlhrd9zlGjBGoBM0YBq/Gs\r
++aStPdonREzsHORjmyQCCpjg4AcqCRTXFbDXzAeXlxMPOrZ3P0XNPzTEM1mVksbmg\r
++mBBDLdHncy4sSCfFgXwRGGgLv9z5Acqm8xGYr68c9PIXY939ozIKV9LVUhxiNz9g\r
++We2a9rLDhfwxUqDlGdiNwZZimiKvD/fsYSrBZMDb5HgIYkeNZ4SD8Xu+OgB550wN\r
++OFfwGi3o8WFK2AyDe5QJDh9Ub+euPNlVzePoGpkltZEHuCcLFJqCHv5XYpbxcjA=\r
++=GO2Q\r
++-----END PGP SIGNATURE-----\r
++\r
++--GGxZz/e2pmGePzrA--\r
++\r
++--===============0063752545==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============0063752545==--\r
++\r
++\r
++From dottedmag@dottedmag.net Tue Nov 17 20:50:48 2009\r
++From: "Mikhail Gusarov" <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:50:48 +0600\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu> (Lars\r
++      Kellogg-Stedman's message of "Tue, 17 Nov 2009 15:33:01 -0500")\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++      <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++Message-ID: <87fx8can9z.fsf@vertex.dottedmag>\r
++\r
++\r
++Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
++\r
++ LK> Is the list archived anywhere?  The obvious archives\r
++ LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++ LK> think I subscribed too late to get the patch (I only just saw the\r
++ LK> discussion about it).\r
++\r
++ LK> It doesn't look like the patch is in git yet.\r
++\r
++Just has been pushed\r
++\r
++-- \r
++  http://fossarchy.blogspot.com/\r
++-------------- next part --------------\r
++A non-text attachment was scrubbed...\r
++Name: not available\r
++Type: application/pgp-signature\r
++Size: 834 bytes\r
++Desc: not available\r
++URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
++\r
++\r
++From keithp@keithp.com Tue Nov 17 21:24:13 2009\r
++From: "Keith Packard" <keithp@keithp.com>\r
++To: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 13:24:13 -0800\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++      <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++Message-ID: <yunaayketfm.fsf@aiko.keithp.com>\r
++\r
++On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> > See the patch just posted here.\r
++\r
++I've also pushed a slightly more complicated (and complete) fix to my\r
++private notmuch repository\r
++\r
++git://keithp.com/git/notmuch\r
++\r
++> Is the list archived anywhere?\r
++\r
++Oops. Looks like Carl's mail server is broken. He's traveling to\r
++Barcelona today and so it won't get fixed for a while.\r
++\r
++Thanks to everyone for trying out notmuch!\r
++\r
++-keith\r
++\r
++\r
++From lars@seas.harvard.edu Wed Nov 18 00:50:40 2009\r
++Date: Tue, 17 Nov 2009 19:50:40 -0500\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Keith Packard <keithp@keithp.com>\r
++Message-ID: <20091118005040.GA25380@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++      <87iqd9rn3l.fsf@vertex.dottedmag>\r
++      <20091117203301.GV3165@dottiness.seas.harvard.edu>\r
++      <yunaayketfm.fsf@aiko.keithp.com>\r
++MIME-Version: 1.0\r
++In-Reply-To: <yunaayketfm.fsf@aiko.keithp.com>\r
++User-Agent: Mutt/1.5.19 (2009-01-05)\r
++Cc: notmuch@notmuchmail.org\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++X-BeenThere: notmuch@notmuchmail.org\r
++X-Mailman-Version: 2.1.12\r
++Precedence: list\r
++List-Id: "Use and development of the notmuch mail system."\r
++      <notmuch.notmuchmail.org>\r
++List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
++List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
++List-Post: <mailto:notmuch@notmuchmail.org>\r
++List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
++List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
++      <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
++Content-Type: multipart/mixed; boundary="===============1483126515=="\r
++Sender: notmuch-bounces@notmuchmail.org\r
++Errors-To: notmuch-bounces@notmuchmail.org\r
++\r
++\r
++--===============1483126515==\r
++Content-Type: multipart/signed; micalg=pgp-sha256;\r
++      protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj"\r
++Content-Disposition: inline\r
++\r
++\r
++--9amGYk9869ThD9tj\r
++Content-Type: text/plain; charset=us-ascii\r
++Content-Disposition: inline\r
++Content-Transfer-Encoding: quoted-printable\r
++\r
++> I've also pushed a slightly more complicated (and complete) fix to my\r
++> private notmuch repository\r
++\r
++The version of lib/messages.cc in your repo doesn't build because it's\r
++missing "#include <stdint.h>" (for the uint32_t on line 466).\r
++\r
++--=20\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\r
++--9amGYk9869ThD9tj\r
++Content-Type: application/pgp-signature\r
++Content-Disposition: inline\r
++\r
++-----BEGIN PGP SIGNATURE-----\r
++Version: GnuPG v1.4.9 (GNU/Linux)\r
++\r
++iQEcBAEBCAAGBQJLA0TgAAoJENdGlQYxQazYsG0IAJ1t9h4Q3ma8z8ejeKR22Xh0\r
++WcuRX2x9yEXy/+aG9W7Mot0mqUQCiLdmHM/2h5N9BFHyJvfOUf8lmssrJ5OS/kp5\r
++j7FIx3GUELBmEZqFUPjRSQPk1hZURYdRsloKkrbQ2kAivjjb50zAAQ8Av4Cgj6cS\r
++3HvNNmeVfJt1NS75vm+/wn48M8Vrcdv4gvNlSOhgFOixknvRoxSyNDOHYBKvHnSV\r
++2HnO0GzhAQzDZAwdHBzJtb8vRmglrH33TVdrE7OW+sojYB3Wyz8r9+HIt8Q8ovzX\r
++nQ8p0Nf5DlF7tye3JYo0EeNm5EQJ4q0YyVYInhmtpi3A5Cyu50GcB/GZ5Sd6ajo=\r
++=WULe\r
++-----END PGP SIGNATURE-----\r
++\r
++--9amGYk9869ThD9tj--\r
++\r
++--===============1483126515==\r
++Content-Type: text/plain; charset="us-ascii"\r
++MIME-Version: 1.0\r
++Content-Transfer-Encoding: 7bit\r
++Content-Disposition: inline\r
++\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\r
++--===============1483126515==--\r
++\r
++\r
++From cworth@cworth.org Wed Nov 18 10:08:10 2009\r
++From: "Carl Worth" <cworth@cworth.org>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:08:10 -0800\r
++Subject: [notmuch] Working with Maildir storage?\r
++In-Reply-To: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++References: <20091117190054.GU3165@dottiness.seas.harvard.edu>\r
++Message-ID: <87ocn0qh6d.fsf@yoom.home.cworth.org>\r
++\r
++On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> I saw the LWN article and decided to take a look at notmuch.  I'm\r
++> currently using mutt and mairix to index and read a collection of\r
++> Maildir mail folders (around 40,000 messages total).\r
++\r
++Welcome, Lars!\r
++\r
++I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
++That's very interesting. So, thanks for coming and trying out notmuch.\r
++\r
++>   Error opening\r
++>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++>   Too many open files\r
++\r
++Sadly, the lwn article coincided with me having just introduced this\r
++bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
++fairly quickly, but there was quite a bit of latency before I could push\r
++the fix out. It should be fixed now.\r
++\r
++> I'm curious if this is expected behavior (i.e., notmuch does not work\r
++> with Maildir) or if something else is going on.\r
++\r
++Notmuch works just fine with maildir---it's one of the things that it\r
++likes the best.\r
++\r
++Happy hacking,\r
++\r
++-Carl\r
++\r
++\r
+diff --git a/test/show.expected-output/single-thread-text b/test/show.expected-output/single-thread-text\r
+new file mode 100644\r
+index 0000000..e00173f\r
+--- /dev/null\r
++++ b/test/show.expected-output/single-thread-text\r
+@@ -0,0 +1,278 @@\r
++\f\r
+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
++\f\r
+header{\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 14:00:54 -0500\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++I saw the LWN article and decided to take a look at notmuch.  I'm\r
++currently using mutt and mairix to index and read a collection of\r
++Maildir mail folders (around 40,000 messages total).\r
++\r
++notmuch indexed the messages without complaint, but my attempt at\r
++searching bombed out. Running, for example:\r
++\r
++  notmuch search storage\r
++\r
++Resulted in 4604 lines of errors along the lines of:\r
++\r
++  Error opening\r
++  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++  Too many open files\r
++\r
++I'm curious if this is expected behavior (i.e., notmuch does not work\r
++with Maildir) or if something else is going on.\r
++\r
++Cheers,\r
++\r
++-- \r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 01:02:38 +0600\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++\r
++Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\r
++\r
++ LK> Resulted in 4604 lines of errors along the lines of:\r
++\r
++ LK>   Error opening\r
++ LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++ LK>   Too many open files\r
++\r
++See the patch just posted here.\r
++\r
++-- \r
++  http://fossarchy.blogspot.com/\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++Cc: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 15:33:01 -0500\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++> See the patch just posted here.\r
++\r
++Is the list archived anywhere?  The obvious archives\r
++(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++think I subscribed too late to get the patch (I only just saw the\r
++discussion about it).\r
++\r
++It doesn't look like the patch is in git yet.\r
++\r
++-- Lars\r
++\r
++-- \r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++"Mikhail Gusarov" <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:50:48 +0600\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++\r
++Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
++\r
++ LK> Is the list archived anywhere?  The obvious archives\r
++ LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
++ LK> think I subscribed too late to get the patch (I only just saw the\r
++ LK> discussion about it).\r
++\r
++ LK> It doesn't look like the patch is in git yet.\r
++\r
++Just has been pushed\r
++\r
++-- \r
++  http://fossarchy.blogspot.com/\r
++-------------- next part --------------\r
++A non-text attachment was scrubbed...\r
++Name: not available\r
++Type: application/pgp-signature\r
++Size: 834 bytes\r
++Desc: not available\r
++URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++"Keith Packard" <keithp@keithp.com> (2009-11-17) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Keith Packard <keithp@keithp.com>\r
++To: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 13:24:13 -0800\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> > See the patch just posted here.\r
++\r
++I've also pushed a slightly more complicated (and complete) fix to my\r
++private notmuch repository\r
++\r
++git://keithp.com/git/notmuch\r
++\r
++> Is the list archived anywhere?\r
++\r
++Oops. Looks like Carl's mail server is broken. He's traveling to\r
++Barcelona today and so it won't get fixed for a while.\r
++\r
++Thanks to everyone for trying out notmuch!\r
++\r
++-keith\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)\r
++Subject: Re: [notmuch] Working with Maildir storage?\r
++From: Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++To: Keith Packard <keithp@keithp.com>\r
++Cc: notmuch@notmuchmail.org\r
++Date: Tue, 17 Nov 2009 19:50:40 -0500\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: multipart/mixed\r
++\f\r
+part{ ID: 2, Content-type: multipart/signed\r
++\f\r
+part{ ID: 3, Content-type: text/plain\r
++> I've also pushed a slightly more complicated (and complete) fix to my\r
++> private notmuch repository\r
++\r
++The version of lib/messages.cc in your repo doesn't build because it's\r
++missing "#include <stdint.h>" (for the uint32_t on line 466).\r
++\r
++-- \r
++Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
++Senior Technologist, Computing and Information Technology\r
++Harvard University School of Engineering and Applied Sciences\r
++\r
++\f\r
+part}\r
++\f\r
+part{ ID: 4, Content-type: application/pgp-signature\r
++Non-text part: application/pgp-signature\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+part{ ID: 5, Content-type: text/plain\r
++_______________________________________________\r
++notmuch mailing list\r
++notmuch@notmuchmail.org\r
++http://notmuchmail.org/mailman/listinfo/notmuch\r
++\f\r
+part}\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
++\f\r
+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
++\f\r
+header{\r
++"Carl Worth" <cworth@cworth.org> (2009-11-18) (inbox unread)\r
++Subject: [notmuch] Working with Maildir storage?\r
++From: Carl Worth <cworth@cworth.org>\r
++To: notmuch@notmuchmail.org\r
++Date: Wed, 18 Nov 2009 02:08:10 -0800\r
++\f\r
+header}\r
++\f\r
+body{\r
++\f\r
+part{ ID: 1, Content-type: text/plain\r
++On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
++> I saw the LWN article and decided to take a look at notmuch.  I'm\r
++> currently using mutt and mairix to index and read a collection of\r
++> Maildir mail folders (around 40,000 messages total).\r
++\r
++Welcome, Lars!\r
++\r
++I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
++That's very interesting. So, thanks for coming and trying out notmuch.\r
++\r
++>   Error opening\r
++>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
++>   Too many open files\r
++\r
++Sadly, the lwn article coincided with me having just introduced this\r
++bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
++fairly quickly, but there was quite a bit of latency before I could push\r
++the fix out. It should be fixed now.\r
++\r
++> I'm curious if this is expected behavior (i.e., notmuch does not work\r
++> with Maildir) or if something else is going on.\r
++\r
++Notmuch works just fine with maildir---it's one of the things that it\r
++likes the best.\r
++\r
++Happy hacking,\r
++\r
++-Carl\r
++\r
++\f\r
+part}\r
++\f\r
+body}\r
++\f\r
+message}\r
+-- \r
+1.7.9.1\r
+\r