Subject: bug#28037: 26.0.50; eieio-object-name-string circular obsolescence

From: Eric Abrahamsen <[email-masked]>
Date: Thu, 10 Aug 2017 09:05:06 -0700

The eieio.el library has this in it:

(cl-defgeneric eieio-object-name-string (obj)
  "Return a string which is OBJ's name."
  (declare (obsolete eieio-named "25.1")))

But if you go to the eieio-named class, in eieio-base.el, it works by
defining a method called... `eieio-object-name-string'.

Ie, if you use the recommended new method, you end up calling the old,
obsoleted method again.

Not a huge disaster, but a strange inconsistency.

In GNU Emacs 26.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.17)
 of 2017-08-07 built on slip
Repository revision: 14ea76af5f3596d48747c2437006f6e1abcb67a7
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
Recent messages:
Opening connection to localhost...done
Opening connection to localhost...done
Opening connection to localhost...done
Opening connection to localhost...done
Reading active file via nndraft...done
Checking new news...done
Mark set
Send this bug report to the Emacs maintainers? (y or n) y
Quit
next-line: End of buffer

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 LIBSYSTEMD

Important settings:
  value of $LC_COLLATE: 
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LC_MESSAGES: 
  value of $LC_MONETARY: 
  value of $LC_NUMERIC: 
  value of $LC_TIME: 
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix