From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Real-life examples of lexical binding in Emacs Lisp Date: 29 May 2015 09:30:33 GMT Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432892124 7891 80.91.229.3 (29 May 2015 09:35:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2015 09:35:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 29 11:35:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YyGhG-00052P-SI for geh-help-gnu-emacs@m.gmane.org; Fri, 29 May 2015 11:35:23 +0200 Original-Received: from localhost ([::1]:34632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyGhG-00076S-0J for geh-help-gnu-emacs@m.gmane.org; Fri, 29 May 2015 05:35:22 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net qjsNZ2sprOoAcCRwzMcQWQvxckoHCVale9TEnWUATOyxXqnkgh Cancel-Lock: sha1:MaUK83TGdFLvLtXr4aJxFhu4gbg= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:212373 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104657 Archived-At: 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. -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)