[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical mumblings
From: |
Miles Bader |
Subject: |
Re: lexical mumblings |
Date: |
27 Oct 2001 08:39:02 +0900 |
"Stefan Monnier" <monnier+gnu/address@hidden> writes:
> `llet' is fine, but (use-lexical-binding) is more tricky because the
> code should also work with the interpreter which can't easily keep track
> of whether a piece of code came from a file that said (use-lexical-binding).
Hmmm...
If `load' and `eval-region' just bound the variable `use-lexical-binding'
to itself (e.g., (let ((use-lexical-binding use-lexical-binding)) ...)),
Then (use-lexical-binding) could expand into (setq use-lexical-binding t),
and the interpreted version of `let' could key off that...(!)
Of course, this leaves the question of what something like `eval-defun'
should do (although, I think this is a general problem that may be worth
fixing for other reasons too, though I can't recall them at the moment).
-miles
--
Suburbia: where they tear out the trees and then name streets after them.
- Re: lexical mumblings, (continued)
- Re: lexical mumblings, Andrew Innes, 2001/10/19
- Re: lexical mumblings, Richard Stallman, 2001/10/19
- Re: lexical mumblings, Kai Großjohann, 2001/10/19
- Re: lexical mumblings, Miles Bader, 2001/10/19
- Re: lexical mumblings, Richard Stallman, 2001/10/21
- Re: lexical mumblings, Miles Bader, 2001/10/24
- Re: lexical mumblings, Richard Stallman, 2001/10/25
- Re: lexical mumblings, Miles Bader, 2001/10/25
- Re: lexical mumblings, Stefan Monnier, 2001/10/26
- Re: lexical mumblings,
Miles Bader <=
- Re: lexical mumblings, Miles Bader, 2001/10/27
- Re: lexical mumblings, Andrew Innes, 2001/10/29
- Re: lexical mumblings, Miles Bader, 2001/10/29
- Re: lexical mumblings, Gerd Moellmann, 2001/10/30
- Re: lexical mumblings, Stefan Monnier, 2001/10/30
- Re: lexical mumblings, Miles Bader, 2001/10/30
- Re: lexical mumblings, Andrew Innes, 2001/10/30
- Re: lexical mumblings, Miles Bader, 2001/10/30
- Re: lexical mumblings, Richard Stallman, 2001/10/31
- Re: lexical mumblings, Miles Bader, 2001/10/31