Re: compile error of current git on F15
[notmuch-archives.git] / b6 / b78ea5121c7e06437b7c4be68b2d581c1a3f39
1 Return-Path: <fgeller@gmail.com>\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 5A480429E32\r
6         for <notmuch@notmuchmail.org>; Mon, 18 Jul 2011 11:58:51 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id E6VyhKn9hI3r for <notmuch@notmuchmail.org>;\r
17         Mon, 18 Jul 2011 11:58:47 -0700 (PDT)\r
18 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com\r
19         [209.85.161.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 06413429E2A\r
22         for <notmuch@notmuchmail.org>; Mon, 18 Jul 2011 11:58:46 -0700 (PDT)\r
23 Received: by mail-fx0-f46.google.com with SMTP id 19so6761582fxh.19\r
24         for <notmuch@notmuchmail.org>; Mon, 18 Jul 2011 11:58:46 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=1CwLHi6p4fMRcaSlRfVzy2oxJGUOuWFZnAUlLdbNDCw=;\r
28         b=v6imQkpwofD8HjbdzpxVwQiZ3ifkj7qiQldrIY1JVYY4lWeySUBMA9sLgoBfinOFHN\r
29         fRfG8w8XMf6C3amQz83SV2l5g9o2RSLEY3JaaqKJsWBSv3htWJIB4w0+C9VdWUPM0Avi\r
30         a6bTVruD4xEjg0QgSj9CA9pVNPfSUzzgFdkYA=\r
31 Received: by 10.223.40.198 with SMTP id l6mr5207837fae.14.1311015526669;\r
32         Mon, 18 Jul 2011 11:58:46 -0700 (PDT)\r
33 Received: from localhorst.example.com (brln-4d0cb676.pool.mediaWays.net\r
34         [77.12.182.118])\r
35         by mx.google.com with ESMTPS id l12sm3118645fam.8.2011.07.18.11.58.44\r
36         (version=TLSv1/SSLv3 cipher=OTHER);\r
37         Mon, 18 Jul 2011 11:58:45 -0700 (PDT)\r
38 Received: by localhorst.example.com (Postfix, from userid 501)\r
39         id 6A4E4471E0B8; Mon, 18 Jul 2011 20:58:40 +0200 (CEST)\r
40 From: Felix Geller <fgeller@gmail.com>\r
41 To: notmuch@notmuchmail.org\r
42 Subject: [PATCH 2/2] Test for toggling message indentation\r
43 Date: Mon, 18 Jul 2011 20:57:45 +0200\r
44 Message-Id: <1311015465-8136-2-git-send-email-fgeller@gmail.com>\r
45 X-Mailer: git-send-email 1.7.6\r
46 In-Reply-To: <1311015465-8136-1-git-send-email-fgeller@gmail.com>\r
47 References: <874o2j4f1e.fsf@servo.factory.finestructure.net>\r
48         <1311015465-8136-1-git-send-email-fgeller@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Mon, 18 Jul 2011 18:58:51 -0000\r
62 \r
63 ---\r
64  test/emacs                                         |    7 +\r
65  ...show-thread-maildir-storage-without-indentation |  215 ++++++++++++++++++++\r
66  2 files changed, 222 insertions(+), 0 deletions(-)\r
67  create mode 100644 test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation\r
68 \r
69 diff --git a/test/emacs b/test/emacs\r
70 index 53f455a..c65d6d8 100755\r
71 --- a/test/emacs\r
72 +++ b/test/emacs\r
73 @@ -55,6 +55,13 @@ test_emacs "(notmuch-show \"$maildir_storage_thread\")\r
74             (test-output)"\r
75  test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage\r
76  \r
77 +test_begin_subtest "Basic notmuch-show view in emacs without indentation"\r
78 +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)\r
79 +test_emacs "(let ((notmuch-show-indent-messages-in-thread nil))\r
80 +             (notmuch-show \"$maildir_storage_thread\")\r
81 +             (test-output))"\r
82 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-without-indentation\r
83 +\r
84  test_begin_subtest "notmuch-show for message with invalid From"\r
85  add_message "[subject]=\"message-with-invalid-from\"" \\r
86             "[from]=\"\\\"Invalid \\\" From\\\" <test_suite@notmuchmail.org>\""\r
87 diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation\r
88 new file mode 100644\r
89 index 0000000..00bd006\r
90 --- /dev/null\r
91 +++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation\r
92 @@ -0,0 +1,215 @@\r
93 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed)\r
94 +Subject: [notmuch] Working with Maildir storage?\r
95 +To: notmuch@notmuchmail.org\r
96 +Date: Tue, 17 Nov 2009 14:00:54 -0500\r
97 +\r
98 +[ multipart/mixed ]\r
99 +[ multipart/signed ]\r
100 +[ text/plain ]\r
101 +I saw the LWN article and decided to take a look at notmuch.  I'm\r
102 +currently using mutt and mairix to index and read a collection of\r
103 +Maildir mail folders (around 40,000 messages total).\r
104 +\r
105 +notmuch indexed the messages without complaint, but my attempt at\r
106 +searching bombed out. Running, for example:\r
107 +\r
108 +  notmuch search storage\r
109 +\r
110 +Resulted in 4604 lines of errors along the lines of:\r
111 +\r
112 +  Error opening\r
113 +  /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
114 +  Too many open files\r
115 +\r
116 +I'm curious if this is expected behavior (i.e., notmuch does not work\r
117 +with Maildir) or if something else is going on.\r
118 +\r
119 +Cheers,\r
120 +\r
121 +[ 5-line signature. Click/Enter to show. ]\r
122 +-- \r
123 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
124 +Senior Technologist, Computing and Information Technology\r
125 +Harvard University School of Engineering and Applied Sciences\r
126 +\r
127 +[ application/pgp-signature ]\r
128 +[ text/plain ]\r
129 +[ 4-line signature. Click/Enter to show. ]\r
130 +_______________________________________________\r
131 +notmuch mailing list\r
132 +notmuch@notmuchmail.org\r
133 +http://notmuchmail.org/mailman/listinfo/notmuch\r
134 +Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)\r
135 +Subject: Re: [notmuch] Working with Maildir storage?\r
136 +To: notmuch@notmuchmail.org\r
137 +Date: Wed, 18 Nov 2009 01:02:38 +0600\r
138 +\r
139 +[ multipart/mixed ]\r
140 +[ multipart/signed ]\r
141 +[ text/plain ]\r
142 +\r
143 +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:\r
144 +\r
145 + LK> Resulted in 4604 lines of errors along the lines of:\r
146 +\r
147 + LK>   Error opening\r
148 + LK>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
149 + LK>   Too many open files\r
150 +\r
151 +See the patch just posted here.\r
152 +\r
153 +[ 2-line signature. Click/Enter to show. ]\r
154 +-- \r
155 +  http://fossarchy.blogspot.com/\r
156 +[ application/pgp-signature ]\r
157 +[ text/plain ]\r
158 +[ 4-line signature. Click/Enter to show. ]\r
159 +_______________________________________________\r
160 +notmuch mailing list\r
161 +notmuch@notmuchmail.org\r
162 +http://notmuchmail.org/mailman/listinfo/notmuch\r
163 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)\r
164 +Subject: Re: [notmuch] Working with Maildir storage?\r
165 +To: Mikhail Gusarov <dottedmag@dottedmag.net>\r
166 +Cc: notmuch@notmuchmail.org\r
167 +Date: Tue, 17 Nov 2009 15:33:01 -0500\r
168 +\r
169 +[ multipart/mixed ]\r
170 +[ multipart/signed ]\r
171 +[ text/plain ]\r
172 +> See the patch just posted here.\r
173 +\r
174 +Is the list archived anywhere?  The obvious archives\r
175 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
176 +think I subscribed too late to get the patch (I only just saw the\r
177 +discussion about it).\r
178 +\r
179 +It doesn't look like the patch is in git yet.\r
180 +\r
181 +-- Lars\r
182 +\r
183 +[ 5-line signature. Click/Enter to show. ]\r
184 +-- \r
185 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
186 +Senior Technologist, Computing and Information Technology\r
187 +Harvard University School of Engineering and Applied Sciences\r
188 +\r
189 +[ application/pgp-signature ]\r
190 +[ text/plain ]\r
191 +[ 4-line signature. Click/Enter to show. ]\r
192 +_______________________________________________\r
193 +notmuch mailing list\r
194 +notmuch@notmuchmail.org\r
195 +http://notmuchmail.org/mailman/listinfo/notmuch\r
196 +Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)\r
197 +Subject: [notmuch] Working with Maildir storage?\r
198 +To: notmuch@notmuchmail.org\r
199 +Date: Wed, 18 Nov 2009 02:50:48 +0600\r
200 +\r
201 +\r
202 +Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:\r
203 +\r
204 + LK> Is the list archived anywhere?  The obvious archives\r
205 + LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I\r
206 + LK> think I subscribed too late to get the patch (I only just saw the\r
207 + LK> discussion about it).\r
208 +\r
209 + LK> It doesn't look like the patch is in git yet.\r
210 +\r
211 +Just has been pushed\r
212 +\r
213 +[ 10-line signature. Click/Enter to show. ]\r
214 +-- \r
215 +  http://fossarchy.blogspot.com/\r
216 +-------------- next part --------------\r
217 +A non-text attachment was scrubbed...\r
218 +Name: not available\r
219 +Type: application/pgp-signature\r
220 +Size: 834 bytes\r
221 +Desc: not available\r
222 +URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>\r
223 +\r
224 +Keith Packard <keithp@keithp.com> (2009-11-17) (inbox unread)\r
225 +Subject: [notmuch] Working with Maildir storage?\r
226 +To: notmuch@notmuchmail.org\r
227 +Date: Tue, 17 Nov 2009 13:24:13 -0800\r
228 +\r
229 +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
230 +> > See the patch just posted here.\r
231 +\r
232 +I've also pushed a slightly more complicated (and complete) fix to my\r
233 +private notmuch repository\r
234 +\r
235 +git://keithp.com/git/notmuch\r
236 +\r
237 +> Is the list archived anywhere?\r
238 +\r
239 +Oops. Looks like Carl's mail server is broken. He's traveling to\r
240 +Barcelona today and so it won't get fixed for a while.\r
241 +\r
242 +Thanks to everyone for trying out notmuch!\r
243 +\r
244 +-keith\r
245 +\r
246 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)\r
247 +Subject: Re: [notmuch] Working with Maildir storage?\r
248 +To: Keith Packard <keithp@keithp.com>\r
249 +Cc: notmuch@notmuchmail.org\r
250 +Date: Tue, 17 Nov 2009 19:50:40 -0500\r
251 +\r
252 +[ multipart/mixed ]\r
253 +[ multipart/signed ]\r
254 +[ text/plain ]\r
255 +> I've also pushed a slightly more complicated (and complete) fix to my\r
256 +> private notmuch repository\r
257 +\r
258 +The version of lib/messages.cc in your repo doesn't build because it's\r
259 +missing "#include <stdint.h>" (for the uint32_t on line 466).\r
260 +\r
261 +[ 5-line signature. Click/Enter to show. ]\r
262 +-- \r
263 +Lars Kellogg-Stedman <lars@seas.harvard.edu>\r
264 +Senior Technologist, Computing and Information Technology\r
265 +Harvard University School of Engineering and Applied Sciences\r
266 +\r
267 +[ application/pgp-signature ]\r
268 +[ text/plain ]\r
269 +[ 4-line signature. Click/Enter to show. ]\r
270 +_______________________________________________\r
271 +notmuch mailing list\r
272 +notmuch@notmuchmail.org\r
273 +http://notmuchmail.org/mailman/listinfo/notmuch\r
274 +Carl Worth <cworth@cworth.org> (2009-11-18) (inbox unread)\r
275 +Subject: [notmuch] Working with Maildir storage?\r
276 +To: notmuch@notmuchmail.org\r
277 +Date: Wed, 18 Nov 2009 02:08:10 -0800\r
278 +\r
279 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:\r
280 +> I saw the LWN article and decided to take a look at notmuch.  I'm\r
281 +> currently using mutt and mairix to index and read a collection of\r
282 +> Maildir mail folders (around 40,000 messages total).\r
283 +\r
284 +Welcome, Lars!\r
285 +\r
286 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.\r
287 +That's very interesting. So, thanks for coming and trying out notmuch.\r
288 +\r
289 +>   Error opening\r
290 +>   /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:\r
291 +>   Too many open files\r
292 +\r
293 +Sadly, the lwn article coincided with me having just introduced this\r
294 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug\r
295 +fairly quickly, but there was quite a bit of latency before I could push\r
296 +the fix out. It should be fixed now.\r
297 +\r
298 +> I'm curious if this is expected behavior (i.e., notmuch does not work\r
299 +> with Maildir) or if something else is going on.\r
300 +\r
301 +Notmuch works just fine with maildir---it's one of the things that it\r
302 +likes the best.\r
303 +\r
304 +Happy hacking,\r
305 +\r
306 +-Carl\r
307 +\r
308 -- \r
309 1.7.6\r
310 \r