emacs-devel
[Top][All Lists]
Advanced

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

Re: Incompatible change without "warning"


From: Stefan Monnier
Subject: Re: Incompatible change without "warning"
Date: Tue, 19 Apr 2005 17:25:33 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> I see that on 2005-4-18 the tooltip-use-echo-area was renamed to
>> tooltip-gud-echo-area. This change breaks existing code
>> (semantic). Isn't it common practise to first deprecate a variable
>> before deleting it? And shouldn't this make it into NEWS?

> I've replaced it as an alias. As it was obscure and partly broken I thought
> that I could sneak the change through unnoticed.

> To emacs-devel:

> How about adding an optional argument to defvaralias so that:

> (defvaralias 'tooltip-use-echo-area 'tooltip-gud-echo-area)
> (make-obsolete-variable 'tooltip-use-echo-area 'tooltip-gud-echo-area "22.1")

> can be written as:

> (defvaralias 'tooltip-use-echo-area 'tooltip-gud-echo-area nil "22.1")

I'd prefer to define the same `define-obsolete-variable-alias' macro as used
in XEmacs.


        Stefan




reply via email to

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