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: 24.3.50; Use of deprecated ((lambda ...) ...) form Date: Fri, 09 Nov 2012 10:59:36 -0500 Message-ID: References: <87390ieug9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352476792 18697 80.91.229.3 (9 Nov 2012 15:59:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2012 15:59:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: sds@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 09 17:00:02 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TWqzw-0006Tt-Dc for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2012 17:00:00 +0100 Original-Received: from localhost ([::1]:44936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWqzn-0008MA-8Q for ged-emacs-devel@m.gmane.org; Fri, 09 Nov 2012 10:59:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWqzk-0008LE-Fg for emacs-devel@gnu.org; Fri, 09 Nov 2012 10:59:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWqzg-0000Ng-IZ for emacs-devel@gnu.org; Fri, 09 Nov 2012 10:59:48 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:48789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWqzZ-0000M3-Vd; Fri, 09 Nov 2012 10:59:38 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id qA9FxaF7027933; Fri, 9 Nov 2012 10:59:36 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 22D28B4278; Fri, 9 Nov 2012 10:59:36 -0500 (EST) In-Reply-To: <87390ieug9.fsf@gnu.org> (Sam Steingold's message of "Fri, 09 Nov 2012 09:12:38 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4396=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4396> : streams <854615> : uri <1263854> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154764 Archived-At: [ Please use M-x report-emacs-bug (or send it to bug-gnu-emacs@gnu.org). ] > byte compilation now warns > .emacs.el:46:39:Warning: Use of deprecated ((lambda ...) ...) form > .emacs.el:46:39:Warning: Use of deprecated ((lambda ...) ...) form > .emacs.el:46:39:Warning: Use of deprecated ((lambda ...) ...) form > .emacs.el:46:39:Warning: Use of deprecated ((lambda ...) ...) form > .emacs.el:1255:20:Warning: Use of deprecated ((lambda ...) ...) form > .emacs.el:1259:43:Warning: Use of deprecated ((lambda ...) ...) form > for forms like > (eval-and-compile (defvar ...)) Oh, sorry I forgot one hunk. Should be fixed now. > why is ((lambda ...) ...) deprecated? Why not? > this is one of the oldest lisp constructs! Old doesn't make it good. If you want to bind local variables, you know where to find `let', don't you? > If it is to be deprecated, then the macros above must be modified so > that their compilation does not warn. Actually, the problem was much deeper than in those macros. But yes, it needs to be fixed. Stefan