From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Please restore `make-obsolete''s functionality. Date: Mon, 26 Jul 2010 20:28:40 +0000 Message-ID: <20100726202840.GB2993@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280175876 29931 80.91.229.12 (26 Jul 2010 20:24:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 20:24:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 22:24:32 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdUDr-0004ct-Va for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2010 22:24:28 +0200 Original-Received: from localhost ([127.0.0.1]:34600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdUDr-0006nk-Do for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2010 16:24:27 -0400 Original-Received: from [140.186.70.92] (port=44523 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdUDj-0006lV-6a for emacs-devel@gnu.org; Mon, 26 Jul 2010 16:24:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdUDi-0000mG-4y for emacs-devel@gnu.org; Mon, 26 Jul 2010 16:24:19 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:3875 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdUDh-0000lS-Pn for emacs-devel@gnu.org; Mon, 26 Jul 2010 16:24:18 -0400 Original-Received: (qmail 69192 invoked by uid 3782); 26 Jul 2010 20:17:34 -0000 Original-Received: from acm.muc.de (pD9E51BFA.dip.t-dialin.net [217.229.27.250]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 26 Jul 2010 22:17:33 +0200 Original-Received: (qmail 5295 invoked by uid 1000); 26 Jul 2010 20:28:40 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127845 Archived-At: 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).