Re: (emacs) Parsing problems replying to encrypted html
[notmuch-archives.git] / f5 / e918571fee3d1e7000cdff798013911e2f1cbb
1 Return-Path: <pieter@praet.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 56659431FC4\r
6         for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:59:01 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 7dkpUWJIHkzO for <notmuch@notmuchmail.org>;\r
16         Sun, 19 Feb 2012 12:58:59 -0800 (PST)\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
18         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 1B9AA431FB6\r
21         for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:58:51 -0800 (PST)\r
22 Received: by mail-wi0-f181.google.com with SMTP id hi8so3113628wib.26\r
23         for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:58:51 -0800 (PST)\r
24 Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
25         10.180.95.105 as permitted sender) client-ip=10.180.95.105; \r
26 Authentication-Results: mr.google.com;\r
27         spf=pass (google.com: domain of pieter@praet.org\r
28         designates 10.180.95.105 as permitted sender)\r
29         smtp.mail=pieter@praet.org\r
30 Received: from mr.google.com ([10.180.95.105])\r
31         by 10.180.95.105 with SMTP id dj9mr11915115wib.18.1329685131879\r
32         (num_hops = 1); Sun, 19 Feb 2012 12:58:51 -0800 (PST)\r
33 MIME-Version: 1.0\r
34 Received: by 10.180.95.105 with SMTP id dj9mr9955583wib.18.1329685131797;\r
35         Sun, 19 Feb 2012 12:58:51 -0800 (PST)\r
36 Received: from localhost (104.218-242-81.adsl-dyn.isp.belgacom.be.\r
37         [81.242.218.104])\r
38         by mx.google.com with ESMTPS id ga1sm29386405wib.5.2012.02.19.12.58.51\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sun, 19 Feb 2012 12:58:51 -0800 (PST)\r
41 From: Pieter Praet <pieter@praet.org>\r
42 To: David Edmondson <dme@dme.org>\r
43 Subject: [PATCH 3/3] test: emacs: toggle thread content indentation in\r
44         `notmuch-show'\r
45 Date: Sun, 19 Feb 2012 21:56:30 +0100\r
46 Message-Id: <1329684990-12504-4-git-send-email-pieter@praet.org>\r
47 X-Mailer: git-send-email 1.7.8.1\r
48 In-Reply-To: <1329684990-12504-1-git-send-email-pieter@praet.org>\r
49 References: <1328688139-3865-1-git-send-email-dme@dme.org>\r
50         <1329684990-12504-1-git-send-email-pieter@praet.org>\r
51 X-Gm-Message-State:\r
52  ALoCoQkJw/e5HZapAbSDdCsojjJNQrV+Ql7zQxn2b1JVdtKQJwW83H39DH8P+xO9L/O0oRZBL0sX\r
53 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Sun, 19 Feb 2012 20:59:01 -0000\r
67 \r
68 See commit c205e8ff.\r
69 ---\r
70  test/emacs                                         |    9 ++\r
71  .../notmuch-show-indent-thread-content-off         |   79 ++++++++++++++++++++\r
72  2 files changed, 88 insertions(+), 0 deletions(-)\r
73  create mode 100644 test/emacs.expected-output/notmuch-show-indent-thread-content-off\r
74 \r
75 diff --git a/test/emacs b/test/emacs\r
76 index 320057a..357ac73 100755\r
77 --- a/test/emacs\r
78 +++ b/test/emacs\r
79 @@ -591,5 +591,14 @@ test_emacs '(let ((notmuch-show-only-matching-messages nil))\r
80         (test-visible-output))'\r
81  test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on\r
82  \r
83 +test_begin_subtest "notmuch-show: disable indentation of thread content (w/ notmuch-show-toggle-thread-indentation)"\r
84 +test_emacs '(notmuch-search "from:lars@seas.harvard.edu and subject:\"Maildir storage\"")\r
85 +       (notmuch-test-wait)\r
86 +       (notmuch-search-show-thread)\r
87 +       (notmuch-test-wait)\r
88 +       (notmuch-show-toggle-thread-indentation)\r
89 +       (test-visible-output)'\r
90 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-indent-thread-content-off\r
91 +\r
92  \r
93  test_done\r
94 diff --git a/test/emacs.expected-output/notmuch-show-indent-thread-content-off b/test/emacs.expected-output/notmuch-show-indent-thread-content-off\r
95 new file mode 100644\r
96 index 0000000..37b4f7d\r
97 --- /dev/null\r
98 +++ b/test/emacs.expected-output/notmuch-show-indent-thread-content-off\r
99 @@ -0,0 +1,79 @@\r
100 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed)\r
101 +Subject: [notmuch] Working with Maildir storage?\r
102 +To: notmuch@notmuchmail.org\r
103 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
104 +\r
105 +[ multipart/mixed ]\r
106 +[ multipart/signed ]\r
107 +[ text/plain ]\r
108 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
109 +currently using mutt and mairix to index and read a collection of\r
110 +Maildir mail folders (around 40,000 messages total).\r
111 +\r
112 +notmuch indexed the messages without complaint, but my attempt at\r
113 +searching bombed out. Running, for example:\r
114 +\r
115 +  notmuch search storage\r
116 +\r
117 +Resulted in 4604 lines of errors along the lines of:\r
118 +\r
119 +  Error opening\r
120 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
121 +  Too many open files\r
122 +\r
123 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
124 +with Maildir) or if something else is going on.\r
125 +\r
126 +Cheers,\r
127 +\r
128 +[ 4-line signature. Click/Enter to show. ]\r
129 +[ application/pgp-signature ]\r
130 +[ text/plain ]\r
131 +[ 4-line signature. Click/Enter to show. ]\r
132 + Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)\r
133 +  Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed)\r
134 +Subject: Re: [notmuch] Working with Maildir storage?\r
135 +To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
136 +Cc: notmuch@notmuchmail.org\r
137 +Date: Tue, 17 Nov 2009 15:33:01 -0500\r
138 +\r
139 +[ multipart/mixed ]\r
140 +[ multipart/signed ]\r
141 +[ text/plain ]\r
142 +> See the patch just posted here.\r
143 +\r
144 +Is the list archived anywhere?  The obvious archives\r
145 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
146 +think I subscribed too late to get the patch (I only just saw the\r
147 +discussion about it).\r
148 +\r
149 +It doesn't look like the patch is in git yet.\r
150 +\r
151 +-- Lars\r
152 +\r
153 +[ 4-line signature. Click/Enter to show. ]\r
154 +[ application/pgp-signature ]\r
155 +[ text/plain ]\r
156 +[ 4-line signature. Click/Enter to show. ]\r
157 +   Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)\r
158 +   Keith Packard <keithp@keithp.com> (2009-11-17) (inbox unread)\r
159 +    Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)\r
160 +Subject: Re: [notmuch] Working with Maildir storage?\r
161 +To: Keith Packard <keithp@keithp.com>\r
162 +Cc: notmuch@notmuchmail.org\r
163 +Date: Tue, 17 Nov 2009 19:50:40 -0500\r
164 +\r
165 +[ multipart/mixed ]\r
166 +[ multipart/signed ]\r
167 +[ text/plain ]\r
168 +> I've also pushed a slightly more complicated (and complete) fix to my\r
169 +> private notmuch repository\r
170 +\r
171 +The version of lib/messages.cc in your repo doesn't build because it's\r
172 +missing "#include <stdint.h>" (for the uint32_t on line 466).\r
173 +\r
174 +[ 4-line signature. Click/Enter to show. ]\r
175 +[ application/pgp-signature ]\r
176 +[ text/plain ]\r
177 +[ 4-line signature. Click/Enter to show. ]\r
178 + Carl Worth <cworth@cworth.org> (2009-11-18) (inbox unread)\r
179 -- \r
180 1.7.8.1\r
181 \r