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#52753: 29.0.50; Printing long list-like structures fails Date: Thu, 23 Dec 2021 17:11:10 +0100 Message-ID: <22AEBE6E-68E7-47D9-885C-AE6621AF4AEE@acm.org> References: <87lf0binqg.fsf@localhost> 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="35997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52753@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 23 17:22:38 2021 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 1n0QrV-00099W-IO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Dec 2021 17:22:37 +0100 Original-Received: from localhost ([::1]:36712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0QrU-0005VC-KF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Dec 2021 11:22:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0QiE-0006F8-Ca for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2021 11:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0QiE-0006cg-1M for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2021 11:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0QiD-0005aN-TR for bug-gnu-emacs@gnu.org; Thu, 23 Dec 2021 11:13:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87lf0binqg.fsf@localhost> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Dec 2021 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52753 X-GNU-PR-Package: emacs Original-Received: via spool by 52753-submit@debbugs.gnu.org id=B52753.164027594421422 (code B ref 52753); Thu, 23 Dec 2021 16:13:01 +0000 Original-Received: (at 52753) by debbugs.gnu.org; 23 Dec 2021 16:12:24 +0000 Original-Received: from localhost ([127.0.0.1]:34687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0Qhc-0005ZS-Ja for submit@debbugs.gnu.org; Thu, 23 Dec 2021 11:12:24 -0500 Original-Received: from mail1458c50.megamailservers.eu ([91.136.14.58]:47074 helo=mail267c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0Qha-0005ZC-Gj for 52753@debbugs.gnu.org; Thu, 23 Dec 2021 11:12:23 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1640275935; bh=DA6XjXgzVbA/w79W8QvzLk0EqS2qtBDi60y6Fj8Otwg=; h=From:Subject:Date:Cc:To:From; b=I9VTKQZZ6/am7NnGv1+Vg5PJJdM8a2BIiJw9Tzqbgd01xUi9HDKlmOyC+14kkHEHb dP8HsRszUxEnMVLa19Drpv21OrelG7edtBNoRwOk3pV7zErOgQvucXRmExbiEC+TPE GSaph8/AGIzPeyA9/7xO6/GQnB80O1wyuVJ1ZwYs= 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 mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 1BNGCDxp001525; Thu, 23 Dec 2021 16:12:14 +0000 X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A742F23.61C49FDF.0037, 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-CSC: 0 X-CHA: v=2.4 cv=HMWgqqhv c=1 sm=1 tr=0 ts=61c49fdf a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=spwyBPvgWhzjc2RF5JsA:9 a=CjuIK1q_8ugA:10 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:222987 Archived-At: The elisp printer isn't really geared towards printing deeply nested = values since it uses recursion. Perhaps you could just print the = contents of your skip list as a flat list or vector for serialization = purposes, and rebuild the structure when loading it back in again. You could of course always write your own (non-recursive) printer, but = be prepared that you may need to write a reader as well. (I'd use a balanced tree-like structure instead of a skip list. = Performance is similar, and allows for immutability and persistence.)