unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Peter Milliken <peter.milliken@gmail.com>
Cc: 33441@debbugs.gnu.org, eggert@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	[thread overview]
Message-ID: <87v9zxgu1o.fsf@gmail.com> (raw)
In-Reply-To: <CAA0nDNswo6wLn9SU6JVRYXtbv3N-s+fwuYfpAAoqBjcJ3iED3A@mail.gmail.com> (Peter Milliken's message of "Wed, 21 Nov 2018 15:21:43 +1100")

Peter Milliken <peter.milliken@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 ...))





  parent reply	other threads:[~2019-04-01 23:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20  7:21 bug#33441: reading and printing Lisp Objects - what changed from 25.3.1 to 26.1? Peter Milliken
2018-11-20 20:56 ` Paul Eggert
2018-11-20 21:02   ` Noam Postavsky
2018-11-20 21:09     ` Peter Milliken
2018-11-20 21:17       ` Paul Eggert
2018-11-20 21:19       ` Noam Postavsky
2018-11-21  1:52         ` Peter Milliken
2018-11-21  3:27           ` Basil L. Contovounesios
2018-11-21  3:46           ` Eli Zaretskii
2018-11-21  4:21             ` Peter Milliken
2018-11-23  7:12               ` Paul Eggert
2019-04-01 23:55               ` Noam Postavsky [this message]
2019-04-02  2:51                 ` Peter Milliken
2019-04-02 13:29                   ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87v9zxgu1o.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=33441@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=peter.milliken@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).