--- .../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 <lars@seas.harvard.edu>", + "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 <lars@seas.harvard.edu>\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 <dottedmag@dottedmag.net>", + "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 <lars@seas.harvard.edu>", + "To": "Mikhail Gusarov <dottedmag@dottedmag.net>", + "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 <lars@seas.harvard.edu>\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 <dottedmag@dottedmag.net>", + "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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\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 <keithp@keithp.com>", + "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 <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"}]}, + [[{"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 <lars@seas.harvard.edu>", + "To": "Keith Packard <keithp@keithp.com>", + "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 <stdint.h>\" (for the uint32_t on line 466).\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\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 <cworth@cworth.org>", + "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 <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, + 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 <lars@seas.harvard.edu> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <lars@seas.harvard.edu> +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 <dottedmag@dottedmag.net> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <lars@seas.harvard.edu> +To: Mikhail Gusarov <dottedmag@dottedmag.net> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <lars@seas.harvard.edu> +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" <dottedmag@dottedmag.net> +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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp> + + +From keithp@keithp.com Tue Nov 17 21:24:13 2009 +From: "Keith Packard" <keithp@keithp.com> +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: <yunaayketfm.fsf@aiko.keithp.com> + +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu> +To: Keith Packard <keithp@keithp.com> +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> + <yunaayketfm.fsf@aiko.keithp.com> +MIME-Version: 1.0 +In-Reply-To: <yunaayketfm.fsf@aiko.keithp.com> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <stdint.h>" (for the uint32_t on line 466). + +--=20 +Lars Kellogg-Stedman <lars@seas.harvard.edu> +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" <cworth@cworth.org> +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 <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread) +Subject: [notmuch] Working with Maildir storage? +From: Lars Kellogg-Stedman <lars@seas.harvard.edu> +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 <lars@seas.harvard.edu> +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 <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread) +Subject: Re: [notmuch] Working with Maildir storage? +From: Mikhail Gusarov <dottedmag@dottedmag.net> +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 <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread) +Subject: Re: [notmuch] Working with Maildir storage? +From: Lars Kellogg-Stedman <lars@seas.harvard.edu> +To: Mikhail Gusarov <dottedmag@dottedmag.net> +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 <lars@seas.harvard.edu> +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" <dottedmag@dottedmag.net> (2009-11-17) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Mikhail Gusarov <dottedmag@dottedmag.net> +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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp> + +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" <keithp@keithp.com> (2009-11-17) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Keith Packard <keithp@keithp.com> +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 <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread) +Subject: Re: [notmuch] Working with Maildir storage? +From: Lars Kellogg-Stedman <lars@seas.harvard.edu> +To: Keith Packard <keithp@keithp.com> +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 <stdint.h>" (for the uint32_t on line 466). + +-- +Lars Kellogg-Stedman <lars@seas.harvard.edu> +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" <cworth@cworth.org> (2009-11-18) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Carl Worth <cworth@cworth.org> +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 <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu>", + "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 <lars@seas.harvard.edu>\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 <dottedmag@dottedmag.net>", + "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 <lars@seas.harvard.edu>", + "To": "Mikhail Gusarov <dottedmag@dottedmag.net>", + "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 <lars@seas.harvard.edu>\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 <dottedmag@dottedmag.net>", + "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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\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 <keithp@keithp.com>", + "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 <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"}]}, + [[{"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 <lars@seas.harvard.edu>", + "To": "Keith Packard <keithp@keithp.com>", + "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 <stdint.h>\" (for the uint32_t on line 466).\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\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 <cworth@cworth.org>", + "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 <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, + 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" <cworth@cworth.org> +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 <lars at seas.harvard.edu> 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" <cworth@cworth.org> (2009-11-18) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Carl Worth <cworth@cworth.org> +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 <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu>", + "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 <lars@seas.harvard.edu>\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 <dottedmag@dottedmag.net>", + "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 <lars@seas.harvard.edu>", + "To": "Mikhail Gusarov <dottedmag@dottedmag.net>", + "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 <lars@seas.harvard.edu>\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 <dottedmag@dottedmag.net>", + "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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\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 <keithp@keithp.com>", + "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 <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"}]}, + [[{"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 <lars@seas.harvard.edu>", + "To": "Keith Packard <keithp@keithp.com>", + "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 <stdint.h>\" (for the uint32_t on line 466).\n\n-- \nLars Kellogg-Stedman <lars@seas.harvard.edu>\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 <cworth@cworth.org>", + "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 <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, + 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 <lars@seas.harvard.edu> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <lars@seas.harvard.edu> +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 <dottedmag@dottedmag.net> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <lars@seas.harvard.edu> +To: Mikhail Gusarov <dottedmag@dottedmag.net> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <lars@seas.harvard.edu> +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" <dottedmag@dottedmag.net> +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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp> + + +From keithp@keithp.com Tue Nov 17 21:24:13 2009 +From: "Keith Packard" <keithp@keithp.com> +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: <yunaayketfm.fsf@aiko.keithp.com> + +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu> +To: Keith Packard <keithp@keithp.com> +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> + <yunaayketfm.fsf@aiko.keithp.com> +MIME-Version: 1.0 +In-Reply-To: <yunaayketfm.fsf@aiko.keithp.com> +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." + <notmuch.notmuchmail.org> +List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe> +List-Archive: <http://notmuchmail.org/pipermail/notmuch> +List-Post: <mailto:notmuch@notmuchmail.org> +List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help> +List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>, + <mailto:notmuch-request@notmuchmail.org?subject=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 <stdint.h>" (for the uint32_t on line 466). + +--=20 +Lars Kellogg-Stedman <lars@seas.harvard.edu> +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" <cworth@cworth.org> +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 <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread) +Subject: [notmuch] Working with Maildir storage? +From: Lars Kellogg-Stedman <lars@seas.harvard.edu> +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 <lars@seas.harvard.edu> +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 <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread) +Subject: Re: [notmuch] Working with Maildir storage? +From: Mikhail Gusarov <dottedmag@dottedmag.net> +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 <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread) +Subject: Re: [notmuch] Working with Maildir storage? +From: Lars Kellogg-Stedman <lars@seas.harvard.edu> +To: Mikhail Gusarov <dottedmag@dottedmag.net> +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 <lars@seas.harvard.edu> +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" <dottedmag@dottedmag.net> (2009-11-17) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Mikhail Gusarov <dottedmag@dottedmag.net> +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: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp> + +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" <keithp@keithp.com> (2009-11-17) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Keith Packard <keithp@keithp.com> +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 <lars at seas.harvard.edu> 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 <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread) +Subject: Re: [notmuch] Working with Maildir storage? +From: Lars Kellogg-Stedman <lars@seas.harvard.edu> +To: Keith Packard <keithp@keithp.com> +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 <stdint.h>" (for the uint32_t on line 466). + +-- +Lars Kellogg-Stedman <lars@seas.harvard.edu> +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" <cworth@cworth.org> (2009-11-18) (inbox unread) +Subject: [notmuch] Working with Maildir storage? +From: Carl Worth <cworth@cworth.org> +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 <lars at seas.harvard.edu> 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