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