all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: 31146@debbugs.gnu.org
Subject: bug#31146: 27.0.50; ielm via cl-prin1 infloops when printing circular object
Date: Fri, 13 Apr 2018 15:00:24 +0100	[thread overview]
Message-ID: <87in8v435z.fsf@tcd.ie> (raw)

(This is a repeat of a recipe I sent to bug#18012 as a separate report.)

The following change:

81b5131e11: 2018-01-15 17:04:05 -0500
  * lisp/ielm.el (ielm-eval-input): Use cl-print.
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=81b5131e11fa96d32a1718c6e2ebf40994d7d281

now results in the following behaviour:

1. emacs -Q
2. M-x ielm RET
3. (let ((l (make-list 2 0)))
     (nconc l (cdr l)))
4. C-m
     => infloop
5. C-g
     => *** IELM Error ***  Quit during pretty-printing

Evaluating (4) in *scratch* via C-j, by contrast, inserts (0 0 . #1)
without inflooping, presumably because pp is used instead of cl-prin1.

-- 
Basil

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2018-04-12 built on thunk
Repository revision: 17174d3f77fe6d5103bfe7e858035a0038010522
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux buster/sid

Configured using:
 'configure --config-cache --prefix=/home/blc/.local --with-mailutils
 --with-x-toolkit=lucid --with-modules --with-file-notification=yes
 --with-x 'CFLAGS=-march=native -O2 -pipe''

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 MODULES THREADS LIBSYSTEMD JSON LCMS2





             reply	other threads:[~2018-04-13 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-13 14:00 Basil L. Contovounesios [this message]
2018-04-14  5:16 ` bug#31146: 27.0.50; ielm via cl-prin1 infloops when printing circular object Noam Postavsky
2018-04-14 21:26   ` Basil L. Contovounesios
2018-04-26 12:00   ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87in8v435z.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=31146@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.