From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: Running a lisp script Date: Sun, 22 Apr 2012 16:01:07 +0200 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: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335103323 15949 80.91.229.3 (22 Apr 2012 14:02:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Apr 2012 14:02:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Combs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 22 16:02:02 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 1SLxMV-0003yZ-KV for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Apr 2012 16:01:59 +0200 Original-Received: from localhost ([::1]:43287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLxMU-00036h-Rm for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Apr 2012 10:01:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLxMP-00036C-Ei for help-gnu-emacs@gnu.org; Sun, 22 Apr 2012 10:01:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLxMN-0002Ot-Ik for help-gnu-emacs@gnu.org; Sun, 22 Apr 2012 10:01:53 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:44696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLxMN-0002Ob-Ae for help-gnu-emacs@gnu.org; Sun, 22 Apr 2012 10:01:51 -0400 Original-Received: by pbcup15 with SMTP id up15so2881705pbc.0 for ; Sun, 22 Apr 2012 07:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=FLCfvsJIysUpQv7Sf6mw3dR8KH2D6iHsPvXgWt60nkg=; b=yrd5W/d3rglIjHGI2B/VY7dk2+EeEV9bi0g4nG2BpHYJLHnnF8pZFZ8sHQlZZ6sSC6 f+FI5+vOuQ3TB3hKx8MSpURbWa6zfFnpgDTIq6RtGxHNwqX+GHWGV8/q/hUUQUoE+R69 1m2whwA5+BwXiBHSm8D/kgNjv18ld+km/AFkZ9pm20f8qCS2bCPoQuA16eEcA4eFQxQb CiAwql5u4FdwjBWI/ed6Ol4saXlfsg/MQQGiCXwkp7/sCviiwg7Pa9I/MknVxpEIeyww g156HxMQbpdK9mrV9KlzwS6P+/n7LSsL9/8x2dpIymgMkK9RM6nLMCHeodGVPQ4XtlD+ cd9A== Original-Received: by 10.68.131.101 with SMTP id ol5mr8536124pbb.54.1335103309258; Sun, 22 Apr 2012 07:01:49 -0700 (PDT) Original-Received: by 10.143.83.9 with HTTP; Sun, 22 Apr 2012 07:01:07 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:84594 Archived-At: 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. =C2=A0 AH -- dynamic bindi= ng, > that's what it's called. =C2=A0Which Elisp doesn't have, being derived fr= om > MacLisp thinking. > > That was a long time ago. =C2=A0Is what I remember actually a correct mem= ory? 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). http://en.wikipedia.org/wiki/Lexical_scope#Lexical_scoping_and_dynamic_scop= ing =C2=A0 =C2=A0 Juanma