unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: Please restore `make-obsolete''s functionality.
Date: Mon, 26 Jul 2010 20:28:40 +0000	[thread overview]
Message-ID: <20100726202840.GB2993@muc.de> (raw)

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



             reply	other threads:[~2010-07-26 20:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 20:28 Alan Mackenzie [this message]
2010-07-26 20:49 ` Please restore `make-obsolete''s functionality 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100726202840.GB2993@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).