From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: Running a lisp script Date: Sun, 22 Apr 2012 12:26:39 -0700 Message-ID: References: <0Ixar.31221$M%7.9998@newsfe10.iad> <87obrpckkm.fsf@notengoamigos.org> <8762dxw4l6.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043d6461365bab04be4980d8 X-Trace: dough.gmane.org 1335122814 18205 80.91.229.3 (22 Apr 2012 19:26:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Apr 2012 19:26:54 +0000 (UTC) Cc: David Combs , "help-gnu-emacs@gnu.org" To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 22 21:26:53 2012 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 1SM2Qt-00053z-NH for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Apr 2012 21:26:51 +0200 Original-Received: from localhost ([::1]:60921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SM2Qt-0001Ao-3D for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Apr 2012 15:26:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SM2Qm-0001AS-Iv for help-gnu-emacs@gnu.org; Sun, 22 Apr 2012 15:26:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SM2Qk-0000Ro-JC for help-gnu-emacs@gnu.org; Sun, 22 Apr 2012 15:26:44 -0400 Original-Received: from mail-wi0-f169.google.com ([209.85.212.169]:40372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SM2Qk-0000Rb-Am for help-gnu-emacs@gnu.org; Sun, 22 Apr 2012 15:26:42 -0400 Original-Received: by wibhm17 with SMTP id hm17so1953003wib.0 for ; Sun, 22 Apr 2012 12:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z6ex3oLsY4kmh1OnamI5xLabzkjq5wtihkLjqB8aPS0=; b=wrkjDSzC39i0d8P+uZPqOvbjyYcYAx3scIZ4ZwOl4zMNHfTb6QsTFRQhATxsvIbXcj g8eY/BYWFuzfcvfpPOWlproJzq2tEf4N1KjbCVh8weEkZM89h4h37clp2zMP+nU88/Ac 9EwTgwPAMUdN1BBdlf/00rScgs2sLxwiGaKN8yIbvPwD+WP7QP8yVqG9THz3r3wG4bHY /NoaAeW9NWyRwn2uzOkLhbpe/x0C7hWb+U7a7gZv+kydPFVj9sgvUxIUo36kS6HsL0wY B4i0Y5K/fPL2/NRZWYOVfP4rSfhjKxwuvKXSMm0qOhC5c8q865DBGBpBl0kYeYNizwV/ GIpg== Original-Received: by 10.180.77.233 with SMTP id v9mr15053727wiw.22.1335122799778; Sun, 22 Apr 2012 12:26:39 -0700 (PDT) Original-Received: by 10.223.116.200 with HTTP; Sun, 22 Apr 2012 12:26:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 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:84599 Archived-At: --f46d043d6461365bab04be4980d8 Content-Type: text/plain; charset=ISO-8859-1 On Sunday, April 22, 2012, Juanma Barranquero wrote: > On Sun, Apr 22, 2012 at 08:06, David Combs 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. -- -PJ Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced. --f46d043d6461365bab04be4980d8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sunday, April 22, 2012, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Sun, Apr 22, 2012 at = 08:06, David Combs <dkcombs@panix.c= om> wrote:
>
>> Too late at night for me to remember the name of the "= ;scheme", but
>> Perl added it via its (sic) "local"= ; variables. =A0 AH -- dynamic binding,
>> that's what it'= s called. =A0Which Elisp doesn't have, being derived from
>> MacLisp thinking.
>>
>> That was a long time ago= . =A0Is what I remember actually a correct memory?
>
> I think = you've mixed a bit lexical and dynamic scoping (Perl "local"<= br> > is indeed dynamic scoping, but Scheme's novelty was lexical scopin= g,
> which Common Lisp copied).

And to answer the question, el= isp supports dynamic scoping, and support for lexical scoping will be added= in Emacs 24.1.

--
-PJ

Gehm's Corollary to Clark's Law: Any technolo= gy distinguishable from
magic is insufficiently advanced.
--f46d043d6461365bab04be4980d8--