From 593e8cc973c0613ce95f394216e32db2f7c60d36 Mon Sep 17 00:00:00 2001 From: Ethan Glasser-Camp Date: Thu, 18 Oct 2012 22:16:52 +2000 Subject: [PATCH] [PATCH] test: Move tests from emacs to emacs-show --- 2a/617120e3308ebdd8df7a87a3648ff94524c6ed | 927 ++++++++++++++++++++++ 1 file changed, 927 insertions(+) create mode 100644 2a/617120e3308ebdd8df7a87a3648ff94524c6ed diff --git a/2a/617120e3308ebdd8df7a87a3648ff94524c6ed b/2a/617120e3308ebdd8df7a87a3648ff94524c6ed new file mode 100644 index 000000000..4271da2df --- /dev/null +++ b/2a/617120e3308ebdd8df7a87a3648ff94524c6ed @@ -0,0 +1,927 @@ +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 6F1B3431FBF + for ; Wed, 17 Oct 2012 19:17:04 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.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 vyc5l6Tb+lUV for ; + Wed, 17 Oct 2012 19:17:00 -0700 (PDT) +Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com + [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 34E4E431FB6 + for ; Wed, 17 Oct 2012 19:17:00 -0700 (PDT) +Received: by mail-vb0-f53.google.com with SMTP id fc21so8373498vbb.26 + for ; Wed, 17 Oct 2012 19:16:59 -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=wT9aaDlIPiMNsiV5l/D+8S2PiubKuaZ6e5WU59OwNq0=; + b=TFdFzsUF5zI2ASF+iLQw0pv1d70e9MUeDC3kmBeNqjEedL6jvTq83trc7IOJBC4yZO + um71w1aK4z2ko9zhUtvCtIFRCuVxsxGSzW+Q40kY0EwPEcTK1lj3Pk3oEQD+0ZWF0+Rr + NFjv0BcoFiqq33E2hk+GKP2/zIJpxT6YrpKl+6kyWzu5ciss/OnDnNVTzd7IV4cUHYQ3 + Anj4Hp0rBt5dfWTQhmX0vA80rUIRS0igtgfLZK6MIACsWNM17Dfhs7T1jii1Vx6BYZS3 + cI6b5kDFqhtdcfU+akNK4LYdCtiqOHcqu7W4NgnM+nBsgkY7der7YvRGDCgvSGfGSUQy + rRLA== +Received: by 10.52.177.104 with SMTP id cp8mr10170721vdc.47.1350526619407; + Wed, 17 Oct 2012 19:16:59 -0700 (PDT) +Received: from smtp.gmail.com (p70-80.acedsl.com. [66.114.70.80]) + by mx.google.com with ESMTPS id k4sm3952852vdg.2.2012.10.17.19.16.55 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 17 Oct 2012 19:16:57 -0700 (PDT) +From: Ethan Glasser-Camp +To: notmuch@notmuchmail.org +Subject: [PATCH] test: Move tests from emacs to emacs-show +Date: Wed, 17 Oct 2012 22:16:52 -0400 +Message-Id: <1350526612-28756-1-git-send-email-ethan@betacantrips.com> +X-Mailer: git-send-email 1.7.9.5 +In-Reply-To: <1350518399-31087-1-git-send-email-ethan@betacantrips.com> +References: <1350518399-31087-1-git-send-email-ethan@betacantrips.com> +Cc: Ethan Glasser-Camp +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: Thu, 18 Oct 2012 02:17:04 -0000 + +This requires changing the contents of the crypto tests, as one thread +that was marked read by the earlier tests in test/emacs is no longer +marked read. + +This moves tests for: + +- 09d19ac "test: emacs: toggle eliding of non-matching messages in + `notmuch-show'", which should have actually read: "test: emacs: + toggle processing of cryptographic MIME parts in `notmuch-show'". + See commit 19ec74c5. + +- 5ea1dbe "test: emacs: toggle eliding of non-matching messages in + `notmuch-show'" + +- 345faab "test: emacs: toggle thread content indentation in + `notmuch-show'" + +Signed-off-by: Ethan Glasser-Camp +--- +I screwed up with git commit --amend or something on the last patch, +so David Bremner suggested that I take advantage of the situation to +write this patch, which does something useful as a side effect. + + test/emacs | 67 ----------------- + test/emacs-show | 71 ++++++++++++++++++ + .../notmuch-show-elide-non-matching-messages-off | 79 ++++++++++++++++++++ + .../notmuch-show-elide-non-matching-messages-on | 75 +++++++++++++++++++ + .../notmuch-show-indent-thread-content-off | 79 ++++++++++++++++++++ + .../notmuch-show-process-crypto-mime-parts-off | 31 ++++++++ + .../notmuch-show-process-crypto-mime-parts-on | 32 ++++++++ + .../notmuch-show-elide-non-matching-messages-off | 79 -------------------- + .../notmuch-show-elide-non-matching-messages-on | 75 ------------------- + .../notmuch-show-indent-thread-content-off | 79 -------------------- + .../notmuch-show-process-crypto-mime-parts-off | 31 -------- + .../notmuch-show-process-crypto-mime-parts-on | 32 -------- + 12 files changed, 367 insertions(+), 363 deletions(-) + create mode 100644 test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-off + create mode 100644 test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-on + create mode 100644 test/emacs-show.expected-output/notmuch-show-indent-thread-content-off + create mode 100644 test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-off + create mode 100644 test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-on + delete mode 100644 test/emacs.expected-output/notmuch-show-elide-non-matching-messages-off + delete mode 100644 test/emacs.expected-output/notmuch-show-elide-non-matching-messages-on + delete mode 100644 test/emacs.expected-output/notmuch-show-indent-thread-content-off + delete mode 100644 test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-off + delete mode 100644 test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-on + +diff --git a/test/emacs b/test/emacs +index e9d8239..1f84b91 100755 +--- a/test/emacs ++++ b/test/emacs +@@ -783,71 +783,4 @@ EOF + test_expect_equal_file OUTPUT EXPECTED + + +-test_begin_subtest "don't process cryptographic MIME parts" +-test_emacs '(let ((notmuch-crypto-process-mime nil)) +- (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-off +- +-test_begin_subtest "process cryptographic MIME parts" +-test_emacs '(let ((notmuch-crypto-process-mime t)) +- (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-on +- +-test_begin_subtest "process cryptographic MIME parts (w/ notmuch-show-toggle-process-crypto)" +-test_emacs '(let ((notmuch-crypto-process-mime nil)) +- (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") +- (notmuch-show-toggle-process-crypto) +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-on +- +-test_begin_subtest "notmuch-show: don't elide non-matching messages" +-test_emacs '(let ((notmuch-show-only-matching-messages nil)) +- (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") +- (notmuch-test-wait) +- (notmuch-search-show-thread) +- (notmuch-test-wait) +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-off +- +-test_begin_subtest "notmuch-show: elide non-matching messages" +-test_emacs '(let ((notmuch-show-only-matching-messages t)) +- (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") +- (notmuch-test-wait) +- (notmuch-search-show-thread) +- (notmuch-test-wait) +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on +- +-test_begin_subtest "notmuch-show: elide non-matching messages (w/ notmuch-show-toggle-elide-non-matching)" +-test_emacs '(let ((notmuch-show-only-matching-messages nil)) +- (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") +- (notmuch-test-wait) +- (notmuch-search-show-thread) +- (notmuch-test-wait) +- (notmuch-show-toggle-elide-non-matching) +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on +- +-test_begin_subtest "notmuch-show: elide non-matching messages (w/ prefix arg to notmuch-show)" +-test_emacs '(let ((notmuch-show-only-matching-messages nil)) +- (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") +- (notmuch-test-wait) +- (let ((current-prefix-arg t)) +- (notmuch-search-show-thread)) +- (notmuch-test-wait) +- (test-visible-output))' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on +- +-test_begin_subtest "notmuch-show: disable indentation of thread content (w/ notmuch-show-toggle-thread-indentation)" +-test_emacs '(notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") +- (notmuch-test-wait) +- (notmuch-search-show-thread) +- (notmuch-test-wait) +- (notmuch-show-toggle-thread-indentation) +- (test-visible-output)' +-test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-indent-thread-content-off +- +- + test_done +diff --git a/test/emacs-show b/test/emacs-show +index e9a714f..64c38d3 100755 +--- a/test/emacs-show ++++ b/test/emacs-show +@@ -3,6 +3,10 @@ + test_description="emacs notmuch-show view" + . test-lib.sh + ++EXPECTED=$TEST_DIRECTORY/emacs-show.expected-output ++ ++add_email_corpus ++ + test_begin_subtest "Hiding Original Message region at beginning of a message" + message_id='OriginalMessageHiding.1@notmuchmail.org' + add_message \ +@@ -36,4 +40,71 @@ test_begin_subtest "Bare subject #3" + output=$(test_emacs '(notmuch-show-strip-re "the cure: fix the regexp")') + test_expect_equal "$output" '"the cure: fix the regexp"' + ++test_begin_subtest "don't process cryptographic MIME parts" ++test_emacs '(let ((notmuch-crypto-process-mime nil)) ++ (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-off ++ ++test_begin_subtest "process cryptographic MIME parts" ++test_emacs '(let ((notmuch-crypto-process-mime t)) ++ (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-on ++ ++test_begin_subtest "process cryptographic MIME parts (w/ notmuch-show-toggle-process-crypto)" ++test_emacs '(let ((notmuch-crypto-process-mime nil)) ++ (notmuch-show "id:20091117203301.GV3165@dottiness.seas.harvard.edu") ++ (notmuch-show-toggle-process-crypto) ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-process-crypto-mime-parts-on ++ ++test_begin_subtest "notmuch-show: don't elide non-matching messages" ++test_emacs '(let ((notmuch-show-only-matching-messages nil)) ++ (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") ++ (notmuch-test-wait) ++ (notmuch-search-show-thread) ++ (notmuch-test-wait) ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-off ++ ++test_begin_subtest "notmuch-show: elide non-matching messages" ++test_emacs '(let ((notmuch-show-only-matching-messages t)) ++ (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") ++ (notmuch-test-wait) ++ (notmuch-search-show-thread) ++ (notmuch-test-wait) ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on ++ ++test_begin_subtest "notmuch-show: elide non-matching messages (w/ notmuch-show-toggle-elide-non-matching)" ++test_emacs '(let ((notmuch-show-only-matching-messages nil)) ++ (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") ++ (notmuch-test-wait) ++ (notmuch-search-show-thread) ++ (notmuch-test-wait) ++ (notmuch-show-toggle-elide-non-matching) ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on ++ ++test_begin_subtest "notmuch-show: elide non-matching messages (w/ prefix arg to notmuch-show)" ++test_emacs '(let ((notmuch-show-only-matching-messages nil)) ++ (notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") ++ (notmuch-test-wait) ++ (let ((current-prefix-arg t)) ++ (notmuch-search-show-thread)) ++ (notmuch-test-wait) ++ (test-visible-output))' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on ++ ++test_begin_subtest "notmuch-show: disable indentation of thread content (w/ notmuch-show-toggle-thread-indentation)" ++test_emacs '(notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"") ++ (notmuch-test-wait) ++ (notmuch-search-show-thread) ++ (notmuch-test-wait) ++ (notmuch-show-toggle-thread-indentation) ++ (test-visible-output)' ++test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-indent-thread-content-off ++ ++ + test_done +diff --git a/test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-off b/test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-off +new file mode 100644 +index 0000000..b31fe62 +--- /dev/null ++++ b/test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-off +@@ -0,0 +1,79 @@ ++Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++Subject: [notmuch] Working with Maildir storage? ++To: notmuch@notmuchmail.org ++Date: Tue, 17 Nov 2009 14:00:54 -0500 ++ ++[ multipart/mixed ] ++[ multipart/signed ] ++[ 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, ++ ++[ 4-line signature. Click/Enter to show. ] ++[ application/pgp-signature ] ++[ text/plain ] ++[ 4-line signature. Click/Enter to show. ] ++ Mikhail Gusarov (2009-11-17) (inbox signed unread) ++ Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++ Subject: Re: [notmuch] Working with Maildir storage? ++ To: Mikhail Gusarov ++ Cc: notmuch@notmuchmail.org ++ Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ ++ [ multipart/mixed ] ++ [ multipart/signed ] ++ [ 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 ++ ++ [ 4-line signature. Click/Enter to show. ] ++ [ application/pgp-signature ] ++ [ text/plain ] ++ [ 4-line signature. Click/Enter to show. ] ++ Mikhail Gusarov (2009-11-17) (inbox unread) ++ Keith Packard (2009-11-17) (inbox unread) ++ Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) ++ Subject: Re: [notmuch] Working with Maildir storage? ++ To: Keith Packard ++ Cc: notmuch@notmuchmail.org ++ Date: Tue, 17 Nov 2009 19:50:40 -0500 ++ ++ [ multipart/mixed ] ++ [ multipart/signed ] ++ [ 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). ++ ++ [ 4-line signature. Click/Enter to show. ] ++ [ application/pgp-signature ] ++ [ text/plain ] ++ [ 4-line signature. Click/Enter to show. ] ++ Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-on b/test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-on +new file mode 100644 +index 0000000..bafb479 +--- /dev/null ++++ b/test/emacs-show.expected-output/notmuch-show-elide-non-matching-messages-on +@@ -0,0 +1,75 @@ ++Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++Subject: [notmuch] Working with Maildir storage? ++To: notmuch@notmuchmail.org ++Date: Tue, 17 Nov 2009 14:00:54 -0500 ++ ++[ multipart/mixed ] ++[ multipart/signed ] ++[ 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, ++ ++[ 4-line signature. Click/Enter to show. ] ++[ application/pgp-signature ] ++[ text/plain ] ++[ 4-line signature. Click/Enter to show. ] ++ Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++ Subject: Re: [notmuch] Working with Maildir storage? ++ To: Mikhail Gusarov ++ Cc: notmuch@notmuchmail.org ++ Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ ++ [ multipart/mixed ] ++ [ multipart/signed ] ++ [ 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 ++ ++ [ 4-line signature. Click/Enter to show. ] ++ [ application/pgp-signature ] ++ [ text/plain ] ++ [ 4-line signature. Click/Enter to show. ] ++ Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) ++ Subject: Re: [notmuch] Working with Maildir storage? ++ To: Keith Packard ++ Cc: notmuch@notmuchmail.org ++ Date: Tue, 17 Nov 2009 19:50:40 -0500 ++ ++ [ multipart/mixed ] ++ [ multipart/signed ] ++ [ 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). ++ ++ [ 4-line signature. Click/Enter to show. ] ++ [ application/pgp-signature ] ++ [ text/plain ] ++ [ 4-line signature. Click/Enter to show. ] +diff --git a/test/emacs-show.expected-output/notmuch-show-indent-thread-content-off b/test/emacs-show.expected-output/notmuch-show-indent-thread-content-off +new file mode 100644 +index 0000000..37b4f7d +--- /dev/null ++++ b/test/emacs-show.expected-output/notmuch-show-indent-thread-content-off +@@ -0,0 +1,79 @@ ++Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++Subject: [notmuch] Working with Maildir storage? ++To: notmuch@notmuchmail.org ++Date: Tue, 17 Nov 2009 14:00:54 -0500 ++ ++[ multipart/mixed ] ++[ multipart/signed ] ++[ 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, ++ ++[ 4-line signature. Click/Enter to show. ] ++[ application/pgp-signature ] ++[ text/plain ] ++[ 4-line signature. Click/Enter to show. ] ++ Mikhail Gusarov (2009-11-17) (inbox signed unread) ++ Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++Subject: Re: [notmuch] Working with Maildir storage? ++To: Mikhail Gusarov ++Cc: notmuch@notmuchmail.org ++Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ ++[ multipart/mixed ] ++[ multipart/signed ] ++[ 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 ++ ++[ 4-line signature. Click/Enter to show. ] ++[ application/pgp-signature ] ++[ text/plain ] ++[ 4-line signature. Click/Enter to show. ] ++ Mikhail Gusarov (2009-11-17) (inbox unread) ++ Keith Packard (2009-11-17) (inbox unread) ++ Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) ++Subject: Re: [notmuch] Working with Maildir storage? ++To: Keith Packard ++Cc: notmuch@notmuchmail.org ++Date: Tue, 17 Nov 2009 19:50:40 -0500 ++ ++[ multipart/mixed ] ++[ multipart/signed ] ++[ 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). ++ ++[ 4-line signature. Click/Enter to show. ] ++[ application/pgp-signature ] ++[ text/plain ] ++[ 4-line signature. Click/Enter to show. ] ++ Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-off b/test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-off +new file mode 100644 +index 0000000..3282c7b +--- /dev/null ++++ b/test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-off +@@ -0,0 +1,31 @@ ++Lars Kellogg-Stedman (2009-11-17) (inbox signed unread) ++Subject: [notmuch] Working with Maildir storage? ++ Mikhail Gusarov (2009-11-17) (inbox signed unread) ++ Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++ Subject: Re: [notmuch] Working with Maildir storage? ++ To: Mikhail Gusarov ++ Cc: notmuch@notmuchmail.org ++ Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ ++ [ multipart/mixed ] ++ [ multipart/signed ] ++ [ 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 ++ ++ [ 4-line signature. Click/Enter to show. ] ++ [ application/pgp-signature ] ++ [ text/plain ] ++ [ 4-line signature. Click/Enter to show. ] ++ Mikhail Gusarov (2009-11-17) (inbox unread) ++ Keith Packard (2009-11-17) (inbox unread) ++ Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) ++ Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-on b/test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-on +new file mode 100644 +index 0000000..eaa557a +--- /dev/null ++++ b/test/emacs-show.expected-output/notmuch-show-process-crypto-mime-parts-on +@@ -0,0 +1,32 @@ ++Lars Kellogg-Stedman (2009-11-17) (inbox signed unread) ++Subject: [notmuch] Working with Maildir storage? ++ Mikhail Gusarov (2009-11-17) (inbox signed unread) ++ Lars Kellogg-Stedman (2009-11-17) (inbox signed) ++ Subject: Re: [notmuch] Working with Maildir storage? ++ To: Mikhail Gusarov ++ Cc: notmuch@notmuchmail.org ++ Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ ++ [ multipart/mixed ] ++ [ multipart/signed ] ++ [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ] ++ [ 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 ++ ++ [ 4-line signature. Click/Enter to show. ] ++ [ application/pgp-signature ] ++ [ text/plain ] ++ [ 4-line signature. Click/Enter to show. ] ++ Mikhail Gusarov (2009-11-17) (inbox unread) ++ Keith Packard (2009-11-17) (inbox unread) ++ Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) ++ Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs.expected-output/notmuch-show-elide-non-matching-messages-off b/test/emacs.expected-output/notmuch-show-elide-non-matching-messages-off +deleted file mode 100644 +index b31fe62..0000000 +--- a/test/emacs.expected-output/notmuch-show-elide-non-matching-messages-off ++++ /dev/null +@@ -1,79 +0,0 @@ +-Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: [notmuch] Working with Maildir storage? +-To: notmuch@notmuchmail.org +-Date: Tue, 17 Nov 2009 14:00:54 -0500 +- +-[ multipart/mixed ] +-[ multipart/signed ] +-[ 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, +- +-[ 4-line signature. Click/Enter to show. ] +-[ application/pgp-signature ] +-[ text/plain ] +-[ 4-line signature. Click/Enter to show. ] +- Mikhail Gusarov (2009-11-17) (inbox signed unread) +- Lars Kellogg-Stedman (2009-11-17) (inbox signed) +- Subject: Re: [notmuch] Working with Maildir storage? +- To: Mikhail Gusarov +- Cc: notmuch@notmuchmail.org +- Date: Tue, 17 Nov 2009 15:33:01 -0500 +- +- [ multipart/mixed ] +- [ multipart/signed ] +- [ 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 +- +- [ 4-line signature. Click/Enter to show. ] +- [ application/pgp-signature ] +- [ text/plain ] +- [ 4-line signature. Click/Enter to show. ] +- Mikhail Gusarov (2009-11-17) (inbox unread) +- Keith Packard (2009-11-17) (inbox unread) +- Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) +- Subject: Re: [notmuch] Working with Maildir storage? +- To: Keith Packard +- Cc: notmuch@notmuchmail.org +- Date: Tue, 17 Nov 2009 19:50:40 -0500 +- +- [ multipart/mixed ] +- [ multipart/signed ] +- [ 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). +- +- [ 4-line signature. Click/Enter to show. ] +- [ application/pgp-signature ] +- [ text/plain ] +- [ 4-line signature. Click/Enter to show. ] +- Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs.expected-output/notmuch-show-elide-non-matching-messages-on b/test/emacs.expected-output/notmuch-show-elide-non-matching-messages-on +deleted file mode 100644 +index bafb479..0000000 +--- a/test/emacs.expected-output/notmuch-show-elide-non-matching-messages-on ++++ /dev/null +@@ -1,75 +0,0 @@ +-Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: [notmuch] Working with Maildir storage? +-To: notmuch@notmuchmail.org +-Date: Tue, 17 Nov 2009 14:00:54 -0500 +- +-[ multipart/mixed ] +-[ multipart/signed ] +-[ 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, +- +-[ 4-line signature. Click/Enter to show. ] +-[ application/pgp-signature ] +-[ text/plain ] +-[ 4-line signature. Click/Enter to show. ] +- Lars Kellogg-Stedman (2009-11-17) (inbox signed) +- Subject: Re: [notmuch] Working with Maildir storage? +- To: Mikhail Gusarov +- Cc: notmuch@notmuchmail.org +- Date: Tue, 17 Nov 2009 15:33:01 -0500 +- +- [ multipart/mixed ] +- [ multipart/signed ] +- [ 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 +- +- [ 4-line signature. Click/Enter to show. ] +- [ application/pgp-signature ] +- [ text/plain ] +- [ 4-line signature. Click/Enter to show. ] +- Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) +- Subject: Re: [notmuch] Working with Maildir storage? +- To: Keith Packard +- Cc: notmuch@notmuchmail.org +- Date: Tue, 17 Nov 2009 19:50:40 -0500 +- +- [ multipart/mixed ] +- [ multipart/signed ] +- [ 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). +- +- [ 4-line signature. Click/Enter to show. ] +- [ application/pgp-signature ] +- [ text/plain ] +- [ 4-line signature. Click/Enter to show. ] +diff --git a/test/emacs.expected-output/notmuch-show-indent-thread-content-off b/test/emacs.expected-output/notmuch-show-indent-thread-content-off +deleted file mode 100644 +index 37b4f7d..0000000 +--- a/test/emacs.expected-output/notmuch-show-indent-thread-content-off ++++ /dev/null +@@ -1,79 +0,0 @@ +-Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: [notmuch] Working with Maildir storage? +-To: notmuch@notmuchmail.org +-Date: Tue, 17 Nov 2009 14:00:54 -0500 +- +-[ multipart/mixed ] +-[ multipart/signed ] +-[ 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, +- +-[ 4-line signature. Click/Enter to show. ] +-[ application/pgp-signature ] +-[ text/plain ] +-[ 4-line signature. Click/Enter to show. ] +- Mikhail Gusarov (2009-11-17) (inbox signed unread) +- Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: Re: [notmuch] Working with Maildir storage? +-To: Mikhail Gusarov +-Cc: notmuch@notmuchmail.org +-Date: Tue, 17 Nov 2009 15:33:01 -0500 +- +-[ multipart/mixed ] +-[ multipart/signed ] +-[ 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 +- +-[ 4-line signature. Click/Enter to show. ] +-[ application/pgp-signature ] +-[ text/plain ] +-[ 4-line signature. Click/Enter to show. ] +- Mikhail Gusarov (2009-11-17) (inbox unread) +- Keith Packard (2009-11-17) (inbox unread) +- Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) +-Subject: Re: [notmuch] Working with Maildir storage? +-To: Keith Packard +-Cc: notmuch@notmuchmail.org +-Date: Tue, 17 Nov 2009 19:50:40 -0500 +- +-[ multipart/mixed ] +-[ multipart/signed ] +-[ 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). +- +-[ 4-line signature. Click/Enter to show. ] +-[ application/pgp-signature ] +-[ text/plain ] +-[ 4-line signature. Click/Enter to show. ] +- Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-off b/test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-off +deleted file mode 100644 +index 076083a..0000000 +--- a/test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-off ++++ /dev/null +@@ -1,31 +0,0 @@ +-Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: [notmuch] Working with Maildir storage? +- Mikhail Gusarov (2009-11-17) (inbox signed unread) +- Lars Kellogg-Stedman (2009-11-17) (inbox signed) +- Subject: Re: [notmuch] Working with Maildir storage? +- To: Mikhail Gusarov +- Cc: notmuch@notmuchmail.org +- Date: Tue, 17 Nov 2009 15:33:01 -0500 +- +- [ multipart/mixed ] +- [ multipart/signed ] +- [ 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 +- +- [ 4-line signature. Click/Enter to show. ] +- [ application/pgp-signature ] +- [ text/plain ] +- [ 4-line signature. Click/Enter to show. ] +- Mikhail Gusarov (2009-11-17) (inbox unread) +- Keith Packard (2009-11-17) (inbox unread) +- Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) +- Carl Worth (2009-11-18) (inbox unread) +diff --git a/test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-on b/test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-on +deleted file mode 100644 +index 588f38f..0000000 +--- a/test/emacs.expected-output/notmuch-show-process-crypto-mime-parts-on ++++ /dev/null +@@ -1,32 +0,0 @@ +-Lars Kellogg-Stedman (2009-11-17) (inbox signed) +-Subject: [notmuch] Working with Maildir storage? +- Mikhail Gusarov (2009-11-17) (inbox signed unread) +- Lars Kellogg-Stedman (2009-11-17) (inbox signed) +- Subject: Re: [notmuch] Working with Maildir storage? +- To: Mikhail Gusarov +- Cc: notmuch@notmuchmail.org +- Date: Tue, 17 Nov 2009 15:33:01 -0500 +- +- [ multipart/mixed ] +- [ multipart/signed ] +- [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ] +- [ 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 +- +- [ 4-line signature. Click/Enter to show. ] +- [ application/pgp-signature ] +- [ text/plain ] +- [ 4-line signature. Click/Enter to show. ] +- Mikhail Gusarov (2009-11-17) (inbox unread) +- Keith Packard (2009-11-17) (inbox unread) +- Lars Kellogg-Stedman (2009-11-18) (inbox signed unread) +- Carl Worth (2009-11-18) (inbox unread) +-- +1.7.9.5 + -- 2.26.2