From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Differences between Elisp and Lisp Date: Tue, 29 Apr 2003 19:01:24 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84d6j5tezf.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051636440 22586 80.91.224.249 (29 Apr 2003 17:14:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2003 17:14:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 29 19:13:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19AYdI-0005YB-00 for ; Tue, 29 Apr 2003 19:11:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AYY7-0001bD-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 29 Apr 2003 13:05:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!p50876f68.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: p50876f68.dip.t-dialin.net (80.135.111.104) Original-X-Trace: fu-berlin.de 1051635839 12153762 80.135.111.104 (16 [73968]) In-Reply-To: (Phillip Lord's message of "29 Apr 2003 13:23:36 +0100") Mail-Copies-To: never User-Agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:uyWtF0xZKl7klwJSqMAwPLgA4SY= Original-Xref: shelby.stanford.edu gnu.emacs.help:112527 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9024 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9024 Phillip Lord writes: > If emacs just went to using lexical binding in the large, I suspect > that it would cause lots of problems with existing packages. I have > used dynamic scoping to achieve ends in the past, which might be a bit > nasty, but it does work! In fact, making use of dynamic scoping is done *very* often in Emacs. But in almost all cases, the variables dynamically bound have previously been defined via defvar, so making those variables behave dynamically gives you the best of both worlds. Michael Sperber has done a code audit of the XEmacs Lisp code, IIRC, and found no or few problems with this approach for lexical/dynamic scoping. -- file-error; Data: (Opening input file no such file or directory ~/.signature)