From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Please restore `make-obsolete''s functionality. Date: Fri, 30 Jul 2010 10:58:43 +0200 Message-ID: References: <20100726202840.GB2993@muc.de> <20100727194145.GA2280@muc.de> <20100728172959.GA2999@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280480364 16930 80.91.229.12 (30 Jul 2010 08:59:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 08:59:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 30 10:59:21 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 1OelQz-0006lO-Ra for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 10:59:18 +0200 Original-Received: from localhost ([127.0.0.1]:57030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OelQz-0001b1-8v for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 04:59:17 -0400 Original-Received: from [140.186.70.92] (port=51724 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OelQs-0001Zn-C6 for emacs-devel@gnu.org; Fri, 30 Jul 2010 04:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OelQr-0000E6-6y for emacs-devel@gnu.org; Fri, 30 Jul 2010 04:59:10 -0400 Original-Received: from impaqm5.telefonica.net ([213.4.138.5]:63122) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OelQr-0000Cy-0Z for emacs-devel@gnu.org; Fri, 30 Jul 2010 04:59:09 -0400 Original-Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm5.telefonica.net with bizsmtp id o8BM1e00S0r0BT63R8ylK3; Fri, 30 Jul 2010 10:58:45 +0200 Original-Received: from ceviche.home ([83.61.51.16]) by IMPmailhost2.adm.correo with BIZ IMP id o8yj1e00W0LyJBX1i8ykNq; Fri, 30 Jul 2010 10:58:45 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Original-Received: by ceviche.home (Postfix, from userid 20848) id 867EE66140; Fri, 30 Jul 2010 10:58:43 +0200 (CEST) In-Reply-To: <20100728172959.GA2999@muc.de> (Alan Mackenzie's message of "Wed, 28 Jul 2010 17:29:59 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:128005 Archived-At: > 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? Of course, but it requires a bit more code first to keep track of whether the arglist is "real" or "advertized". I.e. patches welcome (a good starting point is to look at the commits that add set-advertised-calling-convention). Stefan