From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67180: 30.0.50; 'pp-to-string' emits extra newline Date: Tue, 14 Nov 2023 21:37:02 +0100 Message-ID: References: Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20493"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 67180@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 14 21:37:39 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r30AE-00058L-H2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Nov 2023 21:37:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r309z-0006wE-VK; Tue, 14 Nov 2023 15:37:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r309x-0006vR-J2 for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2023 15:37:21 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r309x-0003Ff-5y for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2023 15:37:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r30Ad-0007RW-EB for bug-gnu-emacs@gnu.org; Tue, 14 Nov 2023 15:38:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Nov 2023 20:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67180 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 67180@debbugs.gnu.org Original-Received: via spool by 67180-submit@debbugs.gnu.org id=B67180.169999427028564 (code B ref 67180); Tue, 14 Nov 2023 20:38:03 +0000 Original-Received: (at 67180) by debbugs.gnu.org; 14 Nov 2023 20:37:50 +0000 Original-Received: from localhost ([127.0.0.1]:34226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r30AQ-0007Qe-5T for submit@debbugs.gnu.org; Tue, 14 Nov 2023 15:37:50 -0500 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:51314 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r30AN-0007QU-C4 for 67180@debbugs.gnu.org; Tue, 14 Nov 2023 15:37:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1699994224; bh=sAKNnbwmVGOnNEMqOhC5tLb006R6GWftI2owGiFHlW8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mr0+K0whnyIGZJ1ag2r+0BMgXDRgedjZSFx18+iW43zcWrqe4jLDzbcm5KwUj0iAr nfR3mIGzPonWM8lNJXyYSk/MAIlVVS7rx3uFv22cOvQU2anV3jT4ZFHgQfLdtQQr6n mKFPPvvZ3nJMY6Y02RSlUMXYFKsggKa0E5tYeNGpGJl35MXcueOl2a9IxSvuwTvu1i AowkcIT8d6fodL5YwDFG21ZK4kNRyjYtqmiOGzPSRM4+l4c37x5rEKoJlSkcHmLPBS 7HHIkqZXSFVPY3q59dNl3qGvC7OL+zIcrNaPrn4U6ovIqEB6MWT5CaL60o3n9Qo9jS wJZ/GFNFpQ63A== In-Reply-To: (Eshel Yaron via's message of "Tue, 14 Nov 2023 21:12:34 +0100") X-Hashcash: 1:20:231114:67180@debbugs.gnu.org::ntaxpgsypAMcq8VC:dFN X-Hashcash: 1:20:231114:bug-gnu-emacs@gnu.org::dWEc294ytqFf2jId:mdu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274332 Archived-At: Eshel Yaron writes: > On Emacs 29 and earlier, with `-Q`, we have: > > (pp-to-string "foo") > => "\"foo\"" > > On master with `-Q`, we get an extra newline at the end of the string: > > (pp-to-string "foo") > => "\"foo\" > " > > AFAICT this change in behavior breaks `agda2-mode` completely on master... I see that the Agda developers worked around[0] this in the development version of `agda2-mode`, but of course more code out there may be affected by this change. Perhaps it's worth mentioning in NEWS? Best, Eshel [0] https://github.com/agda/agda/pull/6954