GNU bug report logs - #67180
30.0.50; 'pp-to-string' emits extra newline

Previous Next

Package: emacs;

Reported by: Eshel Yaron <me <at> eshelyaron.com>

Date: Tue, 14 Nov 2023 20:14:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 67180 <at> debbugs.gnu.org (full text, mbox):

From: Eshel Yaron <me <at> eshelyaron.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 67180 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#67180: 30.0.50; 'pp-to-string' emits extra newline
Date: Thu, 16 Nov 2023 16:34:37 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Eshel Yaron [2023-11-15 14:10:39] wrote:
>
>> ...My suggestion was simply to explicitly mention this new behavior
>> in NEWS or some such.
>
> Like this?
>
>     diff --git a/etc/NEWS b/etc/NEWS
>     index 23f4a8b5311..2dcb2f5664e 100644
>     --- a/etc/NEWS
>     +++ b/etc/NEWS
>     @@ -1099,6 +1099,9 @@ showcases all their customization options.
>      
>      * Incompatible Lisp Changes in Emacs 30.1
>      
>     +** 'pp' and 'pp-to-string' now always include a terminating newline.
>     +In the past they included a terminating newline in most cases but not all.
>     +
>      ** 'buffer-match-p' and 'match-buffers' take '&rest args'.
>      They used to take a single '&optional arg' and were documented to use
>      an unreliable hack to try and support condition predicates that
>

Exactly, yes.  Thanks!

Eshel




This bug report was last modified 1 year and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.