On Sunday, April 22, 2012, Juanma Barranquero <address@hidden> wrote: > On Sun, Apr 22, 2012 at 08:06, David Combs <address@hidden> wrote:
> >> Too late at night for me to remember the name of the "scheme", but >> Perl added it via its (sic) "local" variables. AH -- dynamic binding, >> that's what it's called. Which Elisp doesn't have, being derived from
>> MacLisp thinking. >> >> That was a long time ago. Is what I remember actually a correct memory? > > I think you've mixed a bit lexical and dynamic scoping (Perl "local"
> is indeed dynamic scoping, but Scheme's novelty was lexical scoping, > which Common Lisp copied).
And to answer the question, elisp supports dynamic scoping, and support for lexical scoping will be added in Emacs 24.1.
Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced.