GNU bug report logs - #10001
[semantic] displayor -> displayer

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 9 Nov 2011 06:24:01 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Engster <deng <at> randomsample.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Paul Eggert <eggert <at> cs.ucla.edu>, 10001 <at> debbugs.gnu.org
Subject: bug#10001: displayor -> displayer
Date: Thu, 27 Jun 2019 18:15:10 +0200
David Engster <deng <at> randomsample.de> writes:

> Since Paul's patch changes function and variable names, some of them
> customizable, we cannot merge it for Emacs 24.1.. I will merge it into
> the CEDET repository instead; we'll also have to mark some of the old
> names as obsolete. These changes will then be merged back to Emacs for
> the 24.2. release.

This didn't seem to happen, so I've now made the changes in CEDET
myself.  They change is similar to Paul's proposed patch, but I added

(define-obsolete-function-alias 'semantic-displayor-cleanup
  #'semantic-displayer-cleanup "27.1")

to all the methods.  (I was pleasantly surprised that these aliases also
worked for methods, not just functions.  Here's my test case:

(defclass foo () nil)
(defclass bar (foo) nil)

(cl-defmethod zot ((a foo))
  :foo)

(define-obsolete-function-alias 'zoot #'zot "27.1")
(cl-defmethod zot ((a bar))
  :bar)

(zot (make-instance bar)) => :bar
(zot (make-instance foo)) => :foo

(zoot (make-instance bar)) => :bar
(zoot (make-instance foo)) => :foo


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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