From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: fix/ert-multiline-explanation Date: Thu, 22 Oct 2015 09:44:52 +0100 Message-ID: <878u6vnvgb.fsf@russet.org.uk> References: <871tco2brx.fsf@russet.org.uk> <87eggoymmj.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445503528 12325 80.91.229.3 (22 Oct 2015 08:45:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 08:45:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 10:45:21 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 1ZpBUn-0006pS-Sk for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 10:45:14 +0200 Original-Received: from localhost ([::1]:57861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBUn-0004m3-6K for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 04:45:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBUa-0004le-H1 for emacs-devel@gnu.org; Thu, 22 Oct 2015 04:45:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpBUZ-0002xv-HX for emacs-devel@gnu.org; Thu, 22 Oct 2015 04:45:00 -0400 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:52030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpBUU-0002xC-Bn; Thu, 22 Oct 2015 04:44:54 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZpBUS-0008O7-Bg; Thu, 22 Oct 2015 09:44:52 +0100 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZpBUS-0006OM-Ej; Thu, 22 Oct 2015 09:44:52 +0100 In-Reply-To: <87eggoymmj.fsf@fencepost.gnu.org> (David Kastrup's message of "Wed, 21 Oct 2015 22:47:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.12 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:192355 Archived-At: David Kastrup writes: > 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? On the branch fix/ert-multiline-explanation. a23aa4c9c99147bd6f36941fbae3a2d94c481bed http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=fix/ert-multiline-explanation&id=a23aa4c9c99147bd6f36941fbae3a2d94c481bed Never really understood patches. Branches or request pull/pull request/merge request seem much easier. Phil