unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Please restore `make-obsolete''s functionality.
@ 2010-07-26 20:28 Alan Mackenzie
  2010-07-26 20:49 ` Juanma Barranquero
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alan Mackenzie @ 2010-07-26 20:28 UTC (permalink / raw)
  To: emacs-devel

Hi, Emacs,

In the definition of `make-obsolete' (in
.../lisp/emacs-list/run-byte.el), the third parameter WHEN is &optional.

At least it was until somebody changed the interactive form to make WHEN
mandatory, on the pretext that "New code should always provide the `when'
argument.".

Please can we remove this Cleverness?  `make-obsolete' also has to work
on OLD code (sometimes very old code) written when WHEN was &optional.
There are 6 occurances inside CC Mode.  I really don't want to waste my
time trying to determine when each of these became obsolete.  There'll be
lots elsewhere too, probably.

The effect of this on me personally is to discourage me from clearing out
compilation warnings (of which there are ~55 in CC Mode).

Please can we have WHEN &optional again?

-- 
Alan Mackenzie (Nuremberg, Germany).



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

end of thread, other threads:[~2010-07-30  8:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 20:28 Please restore `make-obsolete''s functionality Alan Mackenzie
2010-07-26 20:49 ` Juanma Barranquero
2010-07-26 21:27   ` Alan Mackenzie
2010-07-26 21:46 ` Dan Nicolaescu
2010-07-27 19:45   ` Alan Mackenzie
2010-07-26 21:55 ` Stefan Monnier
2010-07-27 19:41   ` Alan Mackenzie
2010-07-27 21:38     ` Stefan Monnier
2010-07-28 17:29       ` Alan Mackenzie
2010-07-30  8:58         ` Stefan Monnier

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