1 Return-Path: <jrollins@finestructure.net>
\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 3C8EC429E29
\r
6 for <notmuch@notmuchmail.org>; Tue, 10 May 2011 02:12:46 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 eZiS2-MsM6DT for <notmuch@notmuchmail.org>;
\r
16 Tue, 10 May 2011 02:12:45 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id E6D34429E27
\r
20 for <notmuch@notmuchmail.org>; Tue, 10 May 2011 02:12:44 -0700 (PDT)
\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by earth-doxen-postvirus (Postfix) with ESMTP id 4882766E0541;
\r
23 Tue, 10 May 2011 02:12:43 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
25 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com
\r
26 [98.149.172.122]) (Authenticated sender: jrollins)
\r
27 by earth-doxen-submit (Postfix) with ESMTP id 3EE3466E0211;
\r
28 Tue, 10 May 2011 02:12:40 -0700 (PDT)
\r
29 Received: by servo.finestructure.net (Postfix, from userid 1000)
\r
30 id B12DEE46; Tue, 10 May 2011 02:12:40 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,
\r
33 Notmuch Mail <notmuch@notmuchmail.org>
\r
34 Subject: Re: [PATCH] test: use `princ' instead of `message' calls in emacs
\r
36 In-Reply-To: <1305008708-15610-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
37 References: <1305008708-15610-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
38 User-Agent: Notmuch/0.6 (http://notmuchmail.org) Emacs/23.3.1
\r
39 (x86_64-pc-linux-gnu)
\r
40 Date: Tue, 10 May 2011 02:12:40 -0700
\r
41 Message-ID: <877h9yncl3.fsf@servo.factory.finestructure.net>
\r
43 Content-Type: multipart/signed; boundary="=-=-=";
\r
44 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Tue, 10 May 2011 09:12:46 -0000
\r
60 Content-Transfer-Encoding: quoted-printable
\r
62 On Tue, 10 May 2011 10:25:08 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=
\r
64 > The patch replaces all (message (buffer-string)) calls in emacs
\r
65 > tests with (princ (buffer-string)). This avoids accidentally
\r
66 > interpreting '%' as format specifiers and makes code simpler
\r
67 > because we do not need to capture stderr.
\r
69 > Also, the patch works around an Emacs (23.3+1-1 on current Debian
\r
70 > Unstable) segfault in "Ensure that emacs doesn't drop results"
\r
71 > test. Note: the segfault does not happen on every test run.
\r
72 > Though, it seems to be consistently reproducible if the test uses
\r
73 > 300 messages instead of 30. Hopefully, it is the crash described
\r
74 > in Emacs bug #8545 [1] which is already fixed.
\r
76 This is a great catch, Dmitry. Thank you. And I'm glad you and Austin
\r
77 figured out the best solution.
\r
82 Content-Type: application/pgp-signature
\r
84 -----BEGIN PGP SIGNATURE-----
\r
85 Version: GnuPG v1.4.11 (GNU/Linux)
\r
87 iQIcBAEBCAAGBQJNyQGIAAoJEO00zqvie6q85w4P/2xtnY98fXNbOuZAlsGefIwV
\r
88 uZ36qWjLeqYglmtTFWWDmsjojtK1KUnYQ1yLnAJgEyMMZFkzb1FAWsE7gtfA/htD
\r
89 9CyMiESLXHSqj92jnRv4a573cD8GIZeYMP+uvNA4tddf3jQvHWBU8jH3nTz2d4JY
\r
90 zZVNJ+ehA2TTYR8ERUym7jr9POt+cD+xm6pKJk5p8Qwmd2cYhK/iNf5egKE5s2m1
\r
91 65CuAZoppVIkMcQiAT9Mw7dean8OwooQiL1MdWraW9UKVibaZPURQGOuq8IU1TrC
\r
92 L54yRWU+tNumT19GqRXJPmbrlMSJ8OFCxqthIWMsi5RQJJOK7koezO9GcTdGULGO
\r
93 joeEsxvzH40m4nim7ofX/RYW9wF6RlXQaahmsTzssgAgXKkNio3og4UkB/78wDNG
\r
94 WmTP9TeVDK7Agi7/HMuDLFn5TW0whNdDF3OMT4lukGgqauBicTM2+D/5BxeI4nop
\r
95 SJtzHdow20zdS/j+gXHywDyb0yf+LdgZ5ISbBcBFIvlQiGERtKxMTvP+DJ6cudMx
\r
96 RlPJGggxBnzi6KrGmQe1JPG/TyuluZQEFXPcCpocRNo7C+keWLOyC1jPTd8lBLmN
\r
97 Z8+dAO0ihRhwsXnWReke3aZnnLO9yv2t/l4PgB9rh4jMjPhoZG1fpc8+oAHum2Hw
\r
98 SvFqvJZ+cffrBO1ypp1K
\r
100 -----END PGP SIGNATURE-----
\r