GNU bug report logs - #19423
25.0.50; incompatible change to `make-obsolete' - added 3rd arg should be optional

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 21 Dec 2014 17:15:02 UTC

Severity: normal

Tags: notabug

Found in version 25.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 19423-done <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 19423-done <at> debbugs.gnu.org
Subject: RE: bug#19423: 25.0.50; incompatible change to `make-obsolete' -
 added 3rd arg should be optional
Date: Sun, 21 Dec 2014 11:01:07 -0800 (PST)
> > > In Emacs 23 someone unwisely changed it to mandatory, an
> > > incompatible change that gratuitously breaks code that could
> > > be used with older Emacs releases.  Pain for no real gain.
> >
> > You should look at the code sometimes.
> 
> You should look at the byte-compiler warning that the user sees.
> It tells her that only 2 args are present but 3 are *required*.
> 
> > The change is very much compatible: `make-obsolete' can still be
> > called with only two arguments without error.  The third one is
> > only mandatory in the advertised calling convention.
> 
> See above.  The byte-compiler tells you that it is mandatory.
> 
> > Even if it wasn't, it would be too late to fix the "problem": it
> > wouldn't work in 23 and 24 anyway.
> 
> No, but it would work for Emacs 25, and releases prior to 23.
> 
> There is no good reason *not* to fix it, is there?

Oh, I see that you already closed it.  What a shame.




This bug report was last modified 10 years and 155 days ago.

Previous Next


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