[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp lexical-let
From: |
Ken Raeburn |
Subject: |
Re: Elisp lexical-let |
Date: |
Tue, 21 Jul 2009 17:46:02 -0400 |
On Jul 21, 2009, at 15:48, Daniel Kraft wrote:
Especially, the question is about "what happens" when a lexical
variable is inside its scope again bound dynamically (say via let or
a lambda expression).
Oh, don't stop there... let's get some buffer-local or frame-local
bindings into the mix too! :-)
There are probably corner cases where the only "specification" you're
likely to find is "what Emacs does when you try it". And, if the goal
is to support the existing body of Lisp code (e.g., if Emacs 24 goes
out with lexical binding support, and people start using it), there's
a tradeoff between what seems logical or convenient to you, and what
behavior of Emacs the existing code is going to expect. Maybe not in
weird corner cases, but cases like you describe above seem likely, and
I think you'd want to mimic whatever behavior Emacs is going to do.
Ken
- Elisp lexical-let, Daniel Kraft, 2009/07/21
- Re: Elisp lexical-let,
Ken Raeburn <=
- Re: Elisp lexical-let, Daniel Kraft, 2009/07/22
- Re: Elisp lexical-let, Marijn Schouten (hkBst), 2009/07/22
- Re: Elisp lexical-let, Daniel Kraft, 2009/07/22
- Re: Elisp lexical-let, Marijn Schouten (hkBst), 2009/07/23
- Re: Elisp lexical-let, Mark H Weaver, 2009/07/23
- Re: Elisp lexical-let, Andy Wingo, 2009/07/23
- Re: Elisp lexical-let, Daniel Kraft, 2009/07/23
- Re: Elisp lexical-let, Marijn Schouten (hkBst), 2009/07/24
- Re: Elisp lexical-let, Ken Raeburn, 2009/07/22
- Re: Elisp lexical-let, Daniel Kraft, 2009/07/23