GNU bug report logs - #18012
24.3; Can't print a huge list structure in IELM

Previous Next

Package: emacs;

Reported by: sindikat <at> mail36.net (sindikat <at> mail36.net)

Date: Mon, 14 Jul 2014 07:13:02 UTC

Severity: minor

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: npostavs <at> users.sourceforge.net
Cc: "sindikat <at> mail36.net" <sindikat <at> mail36.net>, 18012 <at> debbugs.gnu.org
Subject: Re: bug#18012: 24.3; Can't print a huge list structure in IELM
Date: Thu, 12 Apr 2018 14:44:14 +0100
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> 1. emacs -Q
> 2. M-x emacs-version RET
>      => GNU Emacs 27.0.50
>         (build 2, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>         of 2018-04-08
> 3. M-x ielm RET
> 4. (let ((l (make-list 2 0)))
>      (nconc l (cdr l)))
> 5. C-m
>      => infloop
> 6. C-g
>      => *** IELM Error ***  Quit during pretty-printing
>
> This is in contrast to the *scratch* buffer, where C-j correctly inserts
> the result of (4) as (0 0 . #1), presumably because pp is used instead
> of cl-prin1.
>
> Does this behaviour warrant a new bug?

I say "correctly", but I mean "without inflooping", as I am not sure
how, if at all, circular objects should be printed when print-circle is
nil.

Note that there is no infloop when printing a "top-level" circle, e.g.:

  (let ((l (list 0)))
    (nconc l l))

-- 
Basil




This bug report was last modified 3 years and 319 days ago.

Previous Next


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