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: Re: Please restore `make-obsolete''s functionality. Date: Wed, 28 Jul 2010 17:29:59 +0000 Message-ID: <20100728172959.GA2999@muc.de> References: <20100726202840.GB2993@muc.de> <20100727194145.GA2280@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280338112 10704 80.91.229.12 (28 Jul 2010 17:28:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 17:28:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 28 19:28:31 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 1OeAQf-0005D5-Lh for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2010 19:28:29 +0200 Original-Received: from localhost ([127.0.0.1]:58844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeAQf-00019j-1N for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2010 13:28:29 -0400 Original-Received: from [140.186.70.92] (port=57558 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeAOq-0008Ng-57 for emacs-devel@gnu.org; Wed, 28 Jul 2010 13:26:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeAHN-0003ew-Jj for emacs-devel@gnu.org; Wed, 28 Jul 2010 13:18:57 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:3543 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeAHN-0003eE-BT for emacs-devel@gnu.org; Wed, 28 Jul 2010 13:18:53 -0400 Original-Received: (qmail 12298 invoked by uid 3782); 28 Jul 2010 17:18:51 -0000 Original-Received: from acm.muc.de (pD9E527D0.dip.t-dialin.net [217.229.39.208]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 28 Jul 2010 19:18:49 +0200 Original-Received: (qmail 3144 invoked by uid 1000); 28 Jul 2010 17:29:59 -0000 Content-Disposition: inline In-Reply-To: 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:127935 Archived-At: Hi, Stefan, On Tue, Jul 27, 2010 at 11:38:09PM +0200, Stefan Monnier wrote: > > Stefan, the following is a lie - a barefaced lie: > > "cc-cmds.el:326:2:Warning: make-obsolete called with 2 arguments, but > > requires 3". > The &optional is obsolete. So whether it's a lie or not, I'll let you > decide, but the intention is to let people know that their code needs > to be updated. Just to be clear here, I'm thoroughly in favour of the WHEN parameter being supplied to make-obsolete. Just that I feel messed around with, due to the wording of the message. How about instead being honest with our hackers, and giving a message something like: "cc-cmds.el:326:2:Warning: Please consider supplying a third parameter \"when\" in invocations of make-obsolete". Is the byte-compiler flexible enough to support the output of such messages? > Stefan -- Alan Mackenzie (Nuremberg, Germany).