unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* argument names for define-obsolete-*-alias
@ 2005-06-12 23:30 Juanma Barranquero
  2005-06-13  0:43 ` Nick Roberts
  2005-06-13 23:38 ` Richard Stallman
  0 siblings, 2 replies; 14+ messages in thread
From: Juanma Barranquero @ 2005-06-12 23:30 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-06-15 23:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-12 23:30 argument names for define-obsolete-*-alias Juanma Barranquero
2005-06-13  0:43 ` Nick Roberts
2005-06-13  1:00   ` Juanma Barranquero
2005-06-13 17:37     ` Daniel Brockman
2005-06-13 23:38   ` Richard Stallman
2005-06-13 23:38 ` Richard Stallman
2005-06-14  0:16   ` Juanma Barranquero
2005-06-14  7:27     ` David Kastrup
2005-06-14  9:08       ` Juanma Barranquero
2005-06-14  9:16         ` David Kastrup
2005-06-15 14:46       ` Richard Stallman
2005-06-15 14:57         ` Juanma Barranquero
2005-06-15 21:13           ` Nick Roberts
2005-06-15 23:20             ` Juanma Barranquero

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).