unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Milliken <peter.milliken@gmail.com>
To: npostavs@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: Wed, 21 Nov 2018 12:52:57 +1100	[thread overview]
Message-ID: <CAA0nDNvr17Bvf=-jEtMACkpd-Eg0ZhJXq86M=rUGhJartQXbUg@mail.gmail.com> (raw)
In-Reply-To: <CAM-tV-8ajipaWOrMqbUtbuxOO3vaKgqxNSqSe2JsR24COoQzVw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1898 bytes --]

OK, I skimmed through the trail on 29220 and it appears to me as though
there was no definitive fix implemented - even though there was an
acknowledgment that a problem existed. The annotation at the end indicates
there have been no changes for 268 days, so I guess that is it. My object
instances are definitely complicated and probably do have circularities.

I think perhaps you might want to put more information/warnings in section
19 of the Elisp manual because it is obviously not true anymore that you
can simply Print/Read any arbitrary Lisp Object.

I'm going to trap the error in my extension and just force
reading/"compiling" from the original text file instead of reading from the
intermediate file created by the print process. This will just cause a
small delay to the user the first time that a set of language templates get
loaded in an edit session - probably not a big deal. Certainly, it is
better than telling people my extension is "broken" and won't work with
26.1 and onwards.

Thanks for the help and information.

Regards
Peter

On Wed, Nov 21, 2018 at 8:19 AM Noam Postavsky <npostavs@gmail.com> wrote:

> On Tue, 20 Nov 2018 at 16:09, Peter Milliken <peter.milliken@gmail.com>
> wrote:
> >
> > Not sure what the reference to circular structures means in this
> context. As I said, all versions of Emacs less than 26 it worked fine with
> these same Lisp Objects.
> >
> > As I said: what changed?  Are you trying to say something in 26.1 is now
> "fixed" i.e. it should never have worked in versions less than 26? and what
> I have been doing for years should have always failed?
>
> I think the difference is that in Emacs 25 and earlier the type of a
> struct (or eieio class?) was encoded as a symbol, whereas in Emacs 26
> and later it is a record object with circular references.
>
> See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29220#47 and
> replies.
>

[-- Attachment #2: Type: text/html, Size: 2486 bytes --]

  reply	other threads:[~2018-11-21  1:52 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 [this message]
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
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='CAA0nDNvr17Bvf=-jEtMACkpd-Eg0ZhJXq86M=rUGhJartQXbUg@mail.gmail.com' \
    --to=peter.milliken@gmail.com \
    --cc=33441@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=npostavs@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).