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 2E6BE431FD0 for ; Fri, 27 May 2011 16:12:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] 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 qDmwVcnrDjwW for ; Fri, 27 May 2011 16:12:30 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id B2971431FB6 for ; Fri, 27 May 2011 16:12:30 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5F45B29A513; Fri, 27 May 2011 16:12:29 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 5273E25417E; Fri, 27 May 2011 16:12:27 -0700 (PDT) From: Carl Worth To: Dmitry Kurochkin , Notmuch Mail Subject: Re: [PATCH] test: use `princ' instead of `message' calls in emacs tests In-Reply-To: <1305008708-15610-1-git-send-email-dmitry.kurochkin@gmail.com> References: <1305008708-15610-1-git-send-email-dmitry.kurochkin@gmail.com> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Fri, 27 May 2011 16:12:20 -0700 Message-ID: <87tycfrb57.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Fri, 27 May 2011 23:12:31 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 10 May 2011 10:25:08 +0400, Dmitry Kurochkin wrote: > The patch replaces all (message (buffer-string)) calls in emacs > tests with (princ (buffer-string)). This avoids accidentally > interpreting '%' as format specifiers and makes code simpler > because we do not need to capture stderr. >=20 > Also, the patch works around an Emacs (23.3+1-1 on current Debian > Unstable) segfault in "Ensure that emacs doesn't drop results" > test. Thanks so much for the fix! I hadn't noticed the segfault until the recent additional include of test-lib.el, (which of course shouldn't actually be changing anything), which seems to tickle the emacs bug a little more frequently for me at least. The segfault made it obvious that this was an emacs bug, but it was annoying to hit. It will be nice to have this fix in place. This change is pushed now. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk3gL9QACgkQ6JDdNq8qSWjoxgCgjsQyK7F4wTABYe4kTrhmi56g Q+kAmwTZGdwvPcOHCIwy7uVNIk0qT6Da =ZPtG -----END PGP SIGNATURE----- --=-=-=--