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

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

Re: sending function arguments to recursive function calls


From: Stefan Monnier
Subject: Re: sending function arguments to recursive function calls
Date: Wed, 08 May 2013 08:21:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Emacs Lisp does not particularly make things clear, IMO.  Common Lisp
> does a pretty good job of helping lexical and dynamic binding cohabit.

Actually, Emacs's lexical-binding variant of Elisp is pretty close to
Common Lisp: the default binding is lexical but you can use dynamic
binding for specific cases.

The difference is that Emacs has to keep the old compatibility mode
where lexical-binding is nil, whereas Common-Lisp never had such a thing.

> Lexical binding was added to Emacs relatively recently.  With time,
> perhaps it and dynamic binding will become better roommates.

When lexical-binding is t, they're very good roomates already.
Hopefully with time, the "lexical-binding = nil" case can be dropped.


        Stefan




reply via email to

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