help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Differences between Elisp and Lisp


From: Kai Großjohann
Subject: Re: Differences between Elisp and Lisp
Date: Tue, 29 Apr 2003 19:01:24 +0200
User-agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3.50 (gnu/linux)

Phillip Lord <p.lord@russet.org.uk> 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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]