1 Return-Path: <error4me@gmx.de>
\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 28979431FD0
\r
6 for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 12:41:31 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.701 tagged_above=-999 required=5
\r
12 tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
\r
13 URIBL_DBL_SPAM=1.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 DzLb6mWmM5vd for <notmuch@notmuchmail.org>;
\r
17 Sun, 23 Oct 2011 12:41:30 -0700 (PDT)
\r
18 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])
\r
19 by olra.theworths.org (Postfix) with SMTP id B07FA431FB6
\r
20 for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 12:41:29 -0700 (PDT)
\r
21 Received: (qmail invoked by alias); 23 Oct 2011 19:41:28 -0000
\r
22 Received: from p54BE2C59.dip.t-dialin.net (EHLO shi.workgroup) [84.190.44.89]
\r
23 by mail.gmx.net (mp056) with SMTP; 23 Oct 2011 21:41:28 +0200
\r
24 X-Authenticated: #19296480
\r
25 X-Provags-ID: V01U2FsdGVkX19E6PBu5zxErEq7fkfGMCsDpb4/fC0NpQFy7hN6/G
\r
27 Received: from grfz by shi.workgroup with local (Exim 4.77)
\r
28 (envelope-from <error4me@gmx.de>)
\r
29 id 1RI3v7-00055E-Q4; Sun, 23 Oct 2011 21:41:21 +0200
\r
30 Date: Sun, 23 Oct 2011 21:41:01 +0200
\r
31 From: Gregor Zattler <telegraph@gmx.net>
\r
32 To: notmuch <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 2b/2] emacs: test: notmuch show without indentation
\r
34 Message-ID: <20111023194101.GH21842@shi.workgroup>
\r
35 Mail-Followup-To: notmuch <notmuch@notmuchmail.org>
\r
36 References: <87vcuz2yga.fsf@servo.factory.finestructure.net>
\r
37 <1311028119-50637-1-git-send-email-fgeller@gmail.com>
\r
38 <1311028119-50637-3-git-send-email-fgeller@gmail.com>
\r
39 <20110719105059.GA6472@shi.workgroup>
\r
40 <87wrednlzz.fsf@steelpick.2x.cz>
\r
41 <20111023164324.GC21842@shi.workgroup>
\r
42 <20111023170040.GE21842@shi.workgroup>
\r
43 <20111023190938.GF21842@shi.workgroup>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Content-Disposition: inline
\r
47 In-Reply-To: <20111023190938.GF21842@shi.workgroup>
\r
48 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Sun, 23 Oct 2011 19:41:31 -0000
\r
64 >From f4b52f67f08880fca41932fe70db72cdf2729ad2 Mon Sep 17 00:00:00 2001
\r
65 From: Gregor Zattler <telegraph@gmx.net>
\r
66 Date: Sun, 23 Oct 2011 21:21:47 +0200
\r
67 Subject: [PATCH] emacs: test: notmuch show without indentation
\r
69 Previous behaviour was to indent messages in a thread according
\r
70 to depth by one space per level. In
\r
71 id:1311028119-50637-1-git-send-email-fgeller@gmail.com Felix
\r
72 Geller proposed a patch in order to turn indentation off. This
\r
73 commit tests if instead setting notmuch-indent-messages-width to
\r
74 `0' does turn off indentation.
\r
77 ...show-thread-maildir-storage-without-indentation | 215 ++++++++++++++++++++
\r
78 2 files changed, 222 insertions(+), 0 deletions(-)
\r
79 create mode 100644 test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation
\r
81 diff --git a/test/emacs b/test/emacs
\r
82 index 3571214..6fa0fd4 100755
\r
85 @@ -57,6 +57,13 @@ test_emacs "(let ((notmuch-indent-messages-width 1))
\r
87 test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage
\r
89 +test_begin_subtest "Basic notmuch-show view in emacs without indentation"
\r
90 +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)
\r
91 +test_emacs "(let ((notmuch-indent-messages-width 0))
\r
92 + (notmuch-show \"$maildir_storage_thread\")
\r
94 +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-without-indentation
\r
96 test_begin_subtest "notmuch-show for message with invalid From"
\r
97 add_message "[subject]=\"message-with-invalid-from\"" \
\r
98 "[from]=\"\\\"Invalid \\\" From\\\" <test_suite@notmuchmail.org>\""
\r
99 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
100 new file mode 100644
\r
101 index 0000000..fa2108e
\r
103 +++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation
\r
105 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed)
\r
106 +Subject: [notmuch] Working with Maildir storage?
\r
107 +To: notmuch@notmuchmail.org
\r
108 +Date: Tue, 17 Nov 2009 14:00:54 -0500
\r
110 +[ multipart/mixed ]
\r
111 +[ multipart/signed ]
\r
113 +I saw the LWN article and decided to take a look at notmuch. I'm
\r
114 +currently using mutt and mairix to index and read a collection of
\r
115 +Maildir mail folders (around 40,000 messages total).
\r
117 +notmuch indexed the messages without complaint, but my attempt at
\r
118 +searching bombed out. Running, for example:
\r
120 + notmuch search storage
\r
122 +Resulted in 4604 lines of errors along the lines of:
\r
125 + /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:
\r
126 + Too many open files
\r
128 +I'm curious if this is expected behavior (i.e., notmuch does not work
\r
129 +with Maildir) or if something else is going on.
\r
133 +[ 5-line signature. Click/Enter to show. ]
\r
135 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
136 +Senior Technologist, Computing and Information Technology
\r
137 +Harvard University School of Engineering and Applied Sciences
\r
139 +[ application/pgp-signature ]
\r
141 +[ 4-line signature. Click/Enter to show. ]
\r
142 +_______________________________________________
\r
143 +notmuch mailing list
\r
144 +notmuch@notmuchmail.org
\r
145 +http://notmuchmail.org/mailman/listinfo/notmuch
\r
146 +Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox signed unread)
\r
147 +Subject: Re: [notmuch] Working with Maildir storage?
\r
148 +To: notmuch@notmuchmail.org
\r
149 +Date: Wed, 18 Nov 2009 01:02:38 +0600
\r
151 +[ multipart/mixed ]
\r
152 +[ multipart/signed ]
\r
155 +Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre and gimble:
\r
157 + LK> Resulted in 4604 lines of errors along the lines of:
\r
159 + LK> Error opening
\r
160 + LK> /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:
\r
161 + LK> Too many open files
\r
163 +See the patch just posted here.
\r
165 +[ 2-line signature. Click/Enter to show. ]
\r
167 +http://fossarchy.blogspot.com/
\r
168 +[ application/pgp-signature ]
\r
170 +[ 4-line signature. Click/Enter to show. ]
\r
171 +_______________________________________________
\r
172 +notmuch mailing list
\r
173 +notmuch@notmuchmail.org
\r
174 +http://notmuchmail.org/mailman/listinfo/notmuch
\r
175 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-17) (inbox signed unread)
\r
176 +Subject: Re: [notmuch] Working with Maildir storage?
\r
177 +To: Mikhail Gusarov <dottedmag@dottedmag.net>
\r
178 +Cc: notmuch@notmuchmail.org
\r
179 +Date: Tue, 17 Nov 2009 15:33:01 -0500
\r
181 +[ multipart/mixed ]
\r
182 +[ multipart/signed ]
\r
184 +> See the patch just posted here.
\r
186 +Is the list archived anywhere? The obvious archives
\r
187 +(http://notmuchmail.org/pipermail/notmuch/) aren't available, and I
\r
188 +think I subscribed too late to get the patch (I only just saw the
\r
189 +discussion about it).
\r
191 +It doesn't look like the patch is in git yet.
\r
195 +[ 5-line signature. Click/Enter to show. ]
\r
197 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
198 +Senior Technologist, Computing and Information Technology
\r
199 +Harvard University School of Engineering and Applied Sciences
\r
201 +[ application/pgp-signature ]
\r
203 +[ 4-line signature. Click/Enter to show. ]
\r
204 +_______________________________________________
\r
205 +notmuch mailing list
\r
206 +notmuch@notmuchmail.org
\r
207 +http://notmuchmail.org/mailman/listinfo/notmuch
\r
208 +Mikhail Gusarov <dottedmag@dottedmag.net> (2009-11-17) (inbox unread)
\r
209 +Subject: [notmuch] Working with Maildir storage?
\r
210 +To: notmuch@notmuchmail.org
\r
211 +Date: Wed, 18 Nov 2009 02:50:48 +0600
\r
214 +Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu did gyre and gimble:
\r
216 + LK> Is the list archived anywhere? The obvious archives
\r
217 + LK> (http://notmuchmail.org/pipermail/notmuch/) aren't available, and I
\r
218 + LK> think I subscribed too late to get the patch (I only just saw the
\r
219 + LK> discussion about it).
\r
221 + LK> It doesn't look like the patch is in git yet.
\r
223 +Just has been pushed
\r
225 +[ 10-line signature. Click/Enter to show. ]
\r
227 +http://fossarchy.blogspot.com/
\r
228 +-------------- next part --------------
\r
229 +A non-text attachment was scrubbed...
\r
230 +Name: not available
\r
231 +Type: application/pgp-signature
\r
233 +Desc: not available
\r
234 +URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091118/0e33d964/attachment.pgp>
\r
236 +Keith Packard <keithp@keithp.com> (2009-11-17) (inbox unread)
\r
237 +Subject: [notmuch] Working with Maildir storage?
\r
238 +To: notmuch@notmuchmail.org
\r
239 +Date: Tue, 17 Nov 2009 13:24:13 -0800
\r
241 +On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:
\r
242 +> > See the patch just posted here.
\r
244 +I've also pushed a slightly more complicated (and complete) fix to my
\r
245 +private notmuch repository
\r
247 +git://keithp.com/git/notmuch
\r
249 +> Is the list archived anywhere?
\r
251 +Oops. Looks like Carl's mail server is broken. He's traveling to
\r
252 +Barcelona today and so it won't get fixed for a while.
\r
254 +Thanks to everyone for trying out notmuch!
\r
258 +Lars Kellogg-Stedman <lars@seas.harvard.edu> (2009-11-18) (inbox signed unread)
\r
259 +Subject: Re: [notmuch] Working with Maildir storage?
\r
260 +To: Keith Packard <keithp@keithp.com>
\r
261 +Cc: notmuch@notmuchmail.org
\r
262 +Date: Tue, 17 Nov 2009 19:50:40 -0500
\r
264 +[ multipart/mixed ]
\r
265 +[ multipart/signed ]
\r
267 +> I've also pushed a slightly more complicated (and complete) fix to my
\r
268 +> private notmuch repository
\r
270 +The version of lib/messages.cc in your repo doesn't build because it's
\r
271 +missing "#include <stdint.h>" (for the uint32_t on line 466).
\r
273 +[ 5-line signature. Click/Enter to show. ]
\r
275 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
276 +Senior Technologist, Computing and Information Technology
\r
277 +Harvard University School of Engineering and Applied Sciences
\r
279 +[ application/pgp-signature ]
\r
281 +[ 4-line signature. Click/Enter to show. ]
\r
282 +_______________________________________________
\r
283 +notmuch mailing list
\r
284 +notmuch@notmuchmail.org
\r
285 +http://notmuchmail.org/mailman/listinfo/notmuch
\r
286 +Carl Worth <cworth@cworth.org> (2009-11-18) (inbox unread)
\r
287 +Subject: [notmuch] Working with Maildir storage?
\r
288 +To: notmuch@notmuchmail.org
\r
289 +Date: Wed, 18 Nov 2009 02:08:10 -0800
\r
291 +On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman <lars at seas.harvard.edu> wrote:
\r
292 +> I saw the LWN article and decided to take a look at notmuch. I'm
\r
293 +> currently using mutt and mairix to index and read a collection of
\r
294 +> Maildir mail folders (around 40,000 messages total).
\r
298 +I hadn't even seen that Keith's blog post had been picked up by lwn.net.
\r
299 +That's very interesting. So, thanks for coming and trying out notmuch.
\r
302 +> /home/lars/Mail/read-messages.2008/cur/1246413773.24928_27334.hostname,U=3026:2,S:
\r
303 +> Too many open files
\r
305 +Sadly, the lwn article coincided with me having just introduced this
\r
306 +bug, and then getting on a Trans-Atlantic flight. So I fixed the bug
\r
307 +fairly quickly, but there was quite a bit of latency before I could push
\r
308 +the fix out. It should be fixed now.
\r
310 +> I'm curious if this is expected behavior (i.e., notmuch does not work
\r
311 +> with Maildir) or if something else is going on.
\r
313 +Notmuch works just fine with maildir---it's one of the things that it
\r