From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: lexical-binding questions Date: Mon, 14 May 2012 19:09:02 +0200 Message-ID: <87vcjylmfl.fsf@gnu.org> References: <871umzrvfw.fsf@gmail.com> <33827449.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337015363 26532 80.91.229.3 (14 May 2012 17:09:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 May 2012 17:09:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 14 19:09:21 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 1STyls-0001fr-17 for ged-emacs-devel@m.gmane.org; Mon, 14 May 2012 19:09:20 +0200 Original-Received: from localhost ([::1]:51035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STylr-0006t6-Ba for ged-emacs-devel@m.gmane.org; Mon, 14 May 2012 13:09:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STylo-0006sV-3p for emacs-devel@gnu.org; Mon, 14 May 2012 13:09:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STyle-000142-M0 for emacs-devel@gnu.org; Mon, 14 May 2012 13:09:15 -0400 Original-Received: from smtprelay-b21.telenor.se ([195.54.99.212]:54744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STyle-00013o-Fz for emacs-devel@gnu.org; Mon, 14 May 2012 13:09:06 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id D5A66CB91 for ; Mon, 14 May 2012 19:09:04 +0200 (CEST) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.229.0.223] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlVtAN87sU9V5QDfPGdsb2JhbABEslEDgR0ZAQEBATc0ghUBAQQBVjMLISUPAQQYAQwKLYgJCbp7i3+BfYMmBKko X-IronPort-AV: E=Sophos;i="4.75,588,1330902000"; d="scan'208";a="336237937" Original-Received: from c-df00e555.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.229.0.223]) by ipb1.telenor.se with ESMTP; 14 May 2012 19:09:04 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id C65BA4841E9; Mon, 14 May 2012 19:09:02 +0200 (CEST) Mail-Copies-To: never In-Reply-To: (Stefan Monnier's message of "Mon, 14 May 2012 00:55:20 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.212 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:150482 Archived-At: Stefan Monnier writes: >> I hope the article named "Lexical scope" in my >> http://prog-elisp.blogspot.com/ blog might be useful for you. > > Indeed, this points to some further bugs in the byte-compiler's handling > of (defvar ). Also, it reminded my of this: (setq lexical-binding t) (let ((t 0)) t) => error (let ((nil 0)) nil) => 0