From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: lexbind Date: Mon, 03 Mar 2008 22:49:40 +0000 Message-ID: <47CC8084.8050205@harpegolden.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204584606 31586 80.91.229.12 (3 Mar 2008 22:50:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2008 22:50:06 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org To: paul r Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 03 23:50:31 2008 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.50) id 1JWJUK-0003O3-PV for ged-emacs-devel@m.gmane.org; Mon, 03 Mar 2008 23:50:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWJTn-0008EO-T5 for ged-emacs-devel@m.gmane.org; Mon, 03 Mar 2008 17:49:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWJTk-0008EA-9E for emacs-devel@gnu.org; Mon, 03 Mar 2008 17:49:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWJTi-0008De-Nl for emacs-devel@gnu.org; Mon, 03 Mar 2008 17:49:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWJTi-0008Db-Kd for emacs-devel@gnu.org; Mon, 03 Mar 2008 17:49:50 -0500 Original-Received: from harpegolden.net ([65.99.215.13]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWJTe-0001mh-70; Mon, 03 Mar 2008 17:49:46 -0500 Original-Received: from golden1.harpegolden.net (unknown [86.45.7.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 2" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 89EB6806D; Mon, 3 Mar 2008 22:49:43 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) In-Reply-To: X-Enigmail-Version: 0.95.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:91250 Archived-At: paul r wrote: >> > Hopefully none since the lexbind branch only uses lexical-binding when >> > the code asks for it. > > will this allow lexical binding for defun ? Currently defun binds > function to symbol globaly, so it can not be used as a local-only > function helper, for instance in a tail-recursion. > > DEFUN doesn't establish local lexically scoped function bindings in common lisp either, you use FLET or LABELS to establish local functions. (Yes I have noticed emacs lisp isn't common lisp, I'm just saying.)