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

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

Re: Real-life examples of lexical binding in Emacs Lisp


From: Dmitry Gutov
Subject: Re: Real-life examples of lexical binding in Emacs Lisp
Date: Fri, 29 May 2015 15:13:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 05/29/2015 02:12 PM, Andreas Röhler wrote:

Would be great to see an example where implementing the text editor is
easier that way.

- Lexical scoping is easier to reason about. The byte-compiler also takes advantage of it and produces more useful warnings.

- You can use normal closures instead of having to create lambda forms with quasiquotes for callbacks (or save the values somewhere globally).



reply via email to

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