GNU bug report logs - #33441
reading and printing Lisp Objects - what changed from 25.3.1 to 26.1?

Previous Next

Package: emacs;

Reported by: Peter Milliken <peter.milliken <at> gmail.com>

Date: Tue, 20 Nov 2018 07:23:01 UTC

Severity: normal

Merged with 29220

Found in version 26.0.90

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Peter Milliken <peter.milliken <at> gmail.com>
Cc: 33441 <at> debbugs.gnu.org, eliz <at> gnu.org, eggert <at> cs.ucla.edu
Subject: bug#33441: reading and printing Lisp Objects - what changed from 25.3.1 to 26.1?
Date: Mon, 01 Apr 2019 19:55:15 -0400
Peter Milliken <peter.milliken <at> gmail.com> writes:

> I'm not sure that I am giving up on Emacs maintenance - the reference Noam
> supplied indicates this is a "well known" issue and somebody, has some
> intention, at some stage, to do something about it, but given the last
> update to referenced bug/email stream was 268 days ago, that intention may
> be on the back burner :-)

Hi, I'm reviewing some old bugs, and I think I missed explicitly giving
the obvious suggestion to you here the first time around.  Does it help
to let-bind print-circle to t in dump-language-to-file?  Bug#29220 has a
lot more going on because it concerns eieio-persist* functions, which as
far as I can tell, your package is not using.

> Faking up a code snippet is not necessarily that easy

Possibly I'm missing something, but is there more to your problem than
this?

    (defclass foo ()
      ())

    (read (prin1-to-string (make-instance 'foo))) ;=> (invalid-read-syntax "#")

    (read (let ((print-circle t))
            (prin1-to-string (make-instance 'foo)))) ;=> #s(#s(eieio--class foo ...))




This bug report was last modified 6 years and 74 days ago.

Previous Next


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