emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

argument names for define-obsolete-*-alias


From: Juanma Barranquero
Subject: argument names for define-obsolete-*-alias
Date: Mon, 13 Jun 2005 01:30:12 +0200

Is everybody happy with the names of the `make-obsolete*' and
`define-obsolete-*-alias' arguments?

The alias being created is called FUNCTION or VARIABLE, and the symbol
(or definition) being aliased, NEW. Now, I understand the rationale:
NEW because it is the new, shinier name.

However, and even knowing as I know that all defining functions and
macros get the defined symbol as first argument, today I tried to use
`define-obsolete-variable-name' and on first reading of the docstring
I just put the arguments reversed. From the Emacs history POV, NEW is
indeed newer; from the use case of define-obsolete*, however, NEW is
"old" because it already exists.

Wouldn't be better to use OBSOLETE and CURRENT (or MODERN), or ALIAS
and ORIGINAL, or some other pair that best defines the relationship
between the arguments?

-- 
                    /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]