From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Lexical binding Date: Sat, 2 Apr 2011 04:33:04 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301711638 14737 80.91.229.12 (2 Apr 2011 02:33:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2011 02:33:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 02 04:33:54 2011 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 1Q5qeu-00035q-Ab for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2011 04:33:52 +0200 Original-Received: from localhost ([127.0.0.1]:60769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5qer-0003JA-N8 for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2011 22:33:49 -0400 Original-Received: from [140.186.70.92] (port=44921 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5qen-0003J5-Ud for emacs-devel@gnu.org; Fri, 01 Apr 2011 22:33:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5qem-0001ml-VQ for emacs-devel@gnu.org; Fri, 01 Apr 2011 22:33:45 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:53693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5qem-0001mg-Rb for emacs-devel@gnu.org; Fri, 01 Apr 2011 22:33:44 -0400 Original-Received: by yws5 with SMTP id 5so1989380yws.0 for ; Fri, 01 Apr 2011 19:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=HPsvnlSaOFyQyvEI2q6rCCRSGjkwzYDXg6u00RlSXKY=; b=hp4vj+Kk1u+Bmsn1m6ybddJOTF3Lo+/VbVvpv9LeO6wsBU/WPLdzJDKFedtQbfasG6 crM1xpeMXwL0Dr4tAdhl4zICUe5LPQC2x6EviIHN/LA+qC087BlatZs94EE2ZOdyrnTw KA6oj8OMWgJKadxhy+po5F2YyGIVFNiue1u0Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=dOGZXPhz7t+ZyVuJwi77H6zgRPtqc22qEPBhwrLXIeyJR53suk33GMsMsofJQuo9WN UGqJTu8g8z3jwn1v4/Ue8BAfWUOAPQhV1DNRV5VN4ZlW/UNO3XsoLlfPvV8byYunhCU1 Vng4uGh4qhDsNvGmsBdc4reVNLAfTVAkHu6II= Original-Received: by 10.146.216.22 with SMTP id o22mr4657039yag.25.1301711624078; Fri, 01 Apr 2011 19:33:44 -0700 (PDT) Original-Received: by 10.147.182.17 with HTTP; Fri, 1 Apr 2011 19:33:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 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:138049 Archived-At: On Fri, Apr 1, 2011 at 19:32, Stefan Monnier wro= te: > Just a note that the lexbind branch has been merged into trunk, An interesting warning: ;;; file test.el -*- lexical-binding: t -*- (require 'cl) (defun test (&rest args) (loop for x in args)) ;;; end of file =3D> test.el:4:1:Warning: Unused lexical variable `x' Now, change x to _x and recompile: =3D> test.el:4:1:Warning: variable `_x' not left unused =C2=A0 =C2=A0 Juanma