From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55645: src/print.c; print_object changes make it impossible to compare elisp code across versions Date: Sun, 29 May 2022 18:14:06 +0300 Message-ID: <83v8tojrr5.fsf@gnu.org> References: <87zgj4biw7.fsf@gnus.org> <874k1b9ser.fsf@gnus.org> <874k1a54ap.fsf@gnus.org> <87o7zg1nut.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tgbugs@gmail.com, 55645@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 29 17:15:17 2022 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 1nvKdP-0006Q5-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 May 2022 17:15:15 +0200 Original-Received: from localhost ([::1]:42750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvKdN-0005gg-LX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 May 2022 11:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvKdC-0005gJ-Ts for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 11:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvKdC-0007CB-L5 for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nvKdC-0004Sd-DS for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 11:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 May 2022 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55645 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55645-submit@debbugs.gnu.org id=B55645.165383725717075 (code B ref 55645); Sun, 29 May 2022 15:15:02 +0000 Original-Received: (at 55645) by debbugs.gnu.org; 29 May 2022 15:14:17 +0000 Original-Received: from localhost ([127.0.0.1]:41613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvKcT-0004RK-Fd for submit@debbugs.gnu.org; Sun, 29 May 2022 11:14:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvKcP-0004R3-C9 for 55645@debbugs.gnu.org; Sun, 29 May 2022 11:14:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47428) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvKcJ-00076v-R1; Sun, 29 May 2022 11:14:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1OO3sgBLd7O4SAa7egiVGEkZU7kqi6m4omIKZjpID7c=; b=EQjDNnMpEHp2 WLwdUeiUj26VsCPeIfv7iV3F8mBjQwarW+8G0bJ31SAedPHpnUy2W9BLQWreEYx1u4kIYa+TEKbIx BRFcaX2RAe7lIeclq7sWnGx8uvjhffAQWa1hcB+u32vBRJTEMjcJwM8k1NoKUnkTqh48cl86MZ1rL 0YDRNvAQP4JQH4KtRqJ/GtpD914wvUaVhzGnqcxsHMbZoxJgH1fdfFt5X6c7tnLcBovZH81zedZsj x46gl9q6T/ZnNTP2ylv6c98iobzZI2xQhwZeKAsLHdO3uuaqDa1saBrnFLj8FsaevwGtXSUyZEVFh OU/y+Lis/wcNZyDh6mORUw==; Original-Received: from [87.69.77.57] (port=1747 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvKcJ-0001e4-Ay; Sun, 29 May 2022 11:14:07 -0400 In-Reply-To: <87o7zg1nut.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 29 May 2022 15:15:38 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:233326 Archived-At: > From: Lars Ingebrigtsen > Cc: 55645@debbugs.gnu.org, Eli Zaretskii > Date: Sun, 29 May 2022 15:15:38 +0200 > > Tom Gillespie writes: > > > Ah I think I know what is missing here. I'm not trying to compare arbitrary > > elisp objects. I'm explicitly only trying to compare literal emacs lisp source > > code and that has been extremely easy since at least emacs 24 (iirc it is > > also the same in 23). The only issue I have encountered was a change in > > iirc 27 of the default value for print-escape-newlines or something like that. > > I'm just not convinced that there's a compelling use case here that > would support the added maintenance burden of adding Yet Another > Printing Variable here -- you're using prin1 to implement something that > prin1 was never meant to support. If you want to see whether some code > is "the same", then I think you really have to read the forms in and > compare the forms. > > But perhaps Eli has an opinion; added to the CCs. I think I'd need an example that demonstrates the issue, to make up my mind. Tom, can you describe the issue in more detail, and provide an example or two? Thanks.