From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: fix/ert-multiline-explanation Date: Wed, 21 Oct 2015 22:47:48 +0200 Message-ID: <87eggoymmj.fsf@fencepost.gnu.org> References: <871tco2brx.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445460498 330 80.91.229.3 (21 Oct 2015 20:48:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 20:48:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 21 22:48:17 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zp0Iv-0006mq-4C for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 22:48:13 +0200 Original-Received: from localhost ([::1]:53963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp0Ip-0007i4-FS for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 16:48:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp0Ik-0007e9-6s for emacs-devel@gnu.org; Wed, 21 Oct 2015 16:48:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp0Ij-0000V7-Ba for emacs-devel@gnu.org; Wed, 21 Oct 2015 16:48:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp0Ij-0000V2-8B; Wed, 21 Oct 2015 16:48:01 -0400 Original-Received: from localhost ([127.0.0.1]:59145 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1Zp0Ii-0000tb-Rq; Wed, 21 Oct 2015 16:48:01 -0400 Original-Received: by lola (Postfix, from userid 1000) id AED29DF494; Wed, 21 Oct 2015 22:47:48 +0200 (CEST) In-Reply-To: <871tco2brx.fsf@russet.org.uk> (Phillip Lord's message of "Wed, 21 Oct 2015 21:43:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192330 Archived-At: phillip.lord@russet.org.uk (Phillip Lord) writes: > I would appreciate feedback on whether the change on > fix/ert-multiline-explanation would be a good one. > > At the moment, ert allows you to attach explanation functions to explain > why tests have failed. Unfortunately, these explanations are printed out > using "pp" which escapes new lines. So multiline explanations are, > largely, unreadable. > > So this patch ignores the value of pp-escape-newlines and resets it to > nil for the duration. This patch? -- David Kastrup