[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical-binding rationale?
From: |
Dave Abrahams |
Subject: |
Re: lexical-binding rationale? |
Date: |
Fri, 13 Jan 2012 10:28:53 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (darwin) |
on Fri Jan 13 2012, Richard Stallman <rms-AT-gnu.org> wrote:
> I'm sure this has been discussed to death, so please feel free to
> respond with a link, but... can anyone point me to a rationale for
> dynamically altering such a fundamental language behavior on the basis
> of a variable's value?
>
> It has to be specified somehow, so how would you suggest?
Maybe it's fine the way it is. My impression was that it was going to
be affected by a local variable setting in the current buffer, but IIUC
it is a local variable setting in the buffer from which elisp is being
read (? this isn't entirely clear—and it should be—from the
documentation).
If so, that gives me less of a cause for worry. My initial reaction
when I heard about this was that we should have a set of
functions/macros for lexical binding, e.g. (lex-let ((a b)(c d)) (body))
but then, as I say, I may have misunderstood what was happening.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com