From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#55395: What does (1 2 3 . #2) mean? Date: Fri, 13 May 2022 22:01:44 +0200 Message-ID: <715F3D50-7D11-47CF-A34B-6532F1F508D7@acm.org> References: <4B70C9BE-B784-4B74-A081-7A8B3F8D5136@acm.org> <87ilq931ay.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9886"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55395@debbugs.gnu.org, Lars Ingebrigtsen To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 13 22:02:12 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 1npbUJ-0002QA-IT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 22:02:11 +0200 Original-Received: from localhost ([::1]:57572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npbUI-00023c-1X for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 May 2022 16:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npbUA-00023F-2h for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 16:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npbU9-0007Cf-Pe for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 16:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npbU9-0001Lw-Jt for bug-gnu-emacs@gnu.org; Fri, 13 May 2022 16:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2022 20:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55395 X-GNU-PR-Package: emacs Original-Received: via spool by 55395-submit@debbugs.gnu.org id=B55395.16524721134800 (code B ref 55395); Fri, 13 May 2022 20:02:01 +0000 Original-Received: (at 55395) by debbugs.gnu.org; 13 May 2022 20:01:53 +0000 Original-Received: from localhost ([127.0.0.1]:45116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npbU0-0001Ey-OJ for submit@debbugs.gnu.org; Fri, 13 May 2022 16:01:53 -0400 Original-Received: from mail205c50.megamailservers.eu ([91.136.10.215]:53196 helo=mail193c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npbTy-0001Bf-3l for 55395@debbugs.gnu.org; Fri, 13 May 2022 16:01:51 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1652472107; bh=SIK8ZfzU00JmQULaXrktkc5EWc/gsj1VuBReHIO+9T0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Yr8wzci2nBxhwpey8ZTvWglYGyb81Eek9EZnSJW3Uv2h9PpAQ2mNHYybP1Gjq2Cb5 dVCllGUteicnIBjgGubZDT/vttdCXqDp1edLX5eZMUL+TcmQLTo1o/Q3ZDlUvC/BNC Fem9AMB5ibZuS/nU6gto8F018+jNT02NfZKN94Yc= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail193c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 24DK1jKp021497; Fri, 13 May 2022 20:01:47 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A742F17.627EB92B.00CB, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE 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:232195 Archived-At: 13 maj 2022 kl. 19.20 skrev Stefan Monnier : > The main goal is to avoid inf-looping and the #NNN chosen is > somewhat arbitrary. It seems to have sort-of worked before and was broken, inadvertently and = with the best intentions, by a later change. Additionally the #N value appears to be correct for other object types. = For example, [a [b #1=3D[[c #1# d]]]] is printed as [a [b [[c #2 d]]]] which is consistent with the manual. > I don't think it's worth it to try and make those #NNN more precise. I have a simple patch but it is not based on master so it will have to = wait. > I'm personally more bothered by the fact that those #NNN use exactly = the > same syntax as used with `print-circle` yet they don't have the > same semantics. The syntax isn't exactly the same (#N vs #N=3D and #N#) but annoyingly = close. For that matter I would have preferred numbering the other way, starting = at the bottom going up, like de Bruijn indices. That way the numbering = would be local and wouldn't depend on where the circular subtree occurs. = Technically that would be an easy change, and if we agree that the = numbers are unreliable right now, we might as well.