GNU bug report logs - #28587
26.0.60; Don't write object name strings in object-write method

Previous Next

Package: emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Sun, 24 Sep 2017 21:12:02 UTC

Severity: minor

Tags: patch

Found in version 26.0.60

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 28587 <at> debbugs.gnu.org
Subject: Re: bug#28587: 26.0.60;
 Don't write object name strings in object-write method
Date: Wed, 08 Nov 2017 15:31:07 -0500
> So where we're at now is, the previous chunk has gone into both master
> and emacs-26.

Yay!

> The next patch (below) would only go into master, so as to
> be more conservative about what's emitted. Everything defaults to
> current behavior.

Looks good, except for:

> +  "When non-nil write the object name in `object-write'.
> +Does not affect objects subclassing `eieio-named'.  Writing
> +object names is deprecated as of Emacs 24.4; consider setting
> +this to nil.")

AFAIK names are deprecated in calls to EIEIO constructors since
Emacs-25 (rather 24.4), and it's only since Emacs-26 that they are
optional in "eieio-presistent" written representations.


        Stefan




This bug report was last modified 7 years and 186 days ago.

Previous Next


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