all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: PJ Weisberg <pjweisberg@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: David Combs <dkcombs@panix.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Running a lisp script
Date: Sun, 22 Apr 2012 12:26:39 -0700	[thread overview]
Message-ID: <CAJsNXTmyXR31BW1QkR2esznxtWM0+jCTUGCtopXMZTepA+gsog@mail.gmail.com> (raw)
In-Reply-To: <CAAeL0SSThN-XwBD9Wc63UkQPwiZ4JV5fYzCUyECgsXdykHoYiQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]

On Sunday, April 22, 2012, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Sun, Apr 22, 2012 at 08:06, David Combs <dkcombs@panix.com> 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.

[-- Attachment #2: Type: text/html, Size: 1147 bytes --]

  reply	other threads:[~2012-04-22 19:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0Ixar.31221$M%7.9998@newsfe10.iad>
     [not found] ` <87obrpckkm.fsf@notengoamigos.org>
     [not found]   ` <JXyar.20747$pc1.8169@newsfe11.iad>
     [not found]     ` <8762dxw4l6.fsf@kuiper.lan.informatimago.com>
2012-04-22  6:06       ` Running a lisp script David Combs
2012-04-22 14:01         ` Juanma Barranquero
2012-04-22 19:26           ` PJ Weisberg [this message]
     [not found]           ` <mailman.444.1335122807.751.help-gnu-emacs@gnu.org>
2012-05-14  1:51             ` David Combs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJsNXTmyXR31BW1QkR2esznxtWM0+jCTUGCtopXMZTepA+gsog@mail.gmail.com \
    --to=pjweisberg@gmail.com \
    --cc=dkcombs@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.