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: Andreas Röhler
Subject: Re: Real-life examples of lexical binding in Emacs Lisp
Date: Fri, 29 May 2015 13:12:16 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 29.05.2015 um 11:30 schrieb Joost Kremers:
Marcin Borkowski wrote:
(Examples of general-purpose programming problems
made easier with l.b. are more or less obvious/easy to find, but Emacs
is a text editor, after all, and this is its primary area.)
Yes, Emacs is a text editor, but I'd say the primary purpose of Elisp is
to *implement* that editor. The fact that Elisp has more facilities for
editing text than most other programming languages is just a consequence
of that.

So presumably lexical binding was added to Elisp not so much because it
makes text editing easier, but because it makes implementing the text
editor easier.



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

Thanks,

Andreas



reply via email to

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