[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical-binding is turned on in more use cases
From: |
Noam Postavsky |
Subject: |
Re: lexical-binding is turned on in more use cases |
Date: |
Thu, 12 Mar 2020 20:46:16 -0400 |
On Tue, 10 Mar 2020 at 22:02, Michael Heerdegen
<address@hidden> wrote:
> > Essentially some cc-mode variables are only declared dynamic locally
> > within individual files. Without lexical binding the only difference
> > this causes is that they are unbound at top level; but with
> > lexical-binding, outside of the declaring files (e.g., in M-:
> > expressions), let-binding those variables doesn't bind the value
> > dynamically.
>
> I meant "real" examples (that are not actually coding errors).
Whether or not there is a coding error in the above is a somewhat
philosophical question.
> like let-binding a variable that is not (yet) declared around an
> expression whose evaluation will autoload the declaration but it's too
> late for that binding and you get something unexpected.
But I just realized Bug#39823 is an example of exactly this.
https://debbugs.gnu.org/39823 "update-directory-autoloads regression
from Emacs 26 to Emacs 27"
- Re: lexical-binding is turned on in more use cases, (continued)
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Michael Heerdegen, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Eli Zaretskii, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Michael Heerdegen, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Michael Heerdegen, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Noam Postavsky, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Michael Heerdegen, 2020/03/10
- Re: lexical-binding is turned on in more use cases,
Noam Postavsky <=
- Re: lexical-binding is turned on in more use cases, Richard Stallman, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/11
- Re: lexical-binding is turned on in more use cases, Michael Heerdegen, 2020/03/12
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/10
- Re: lexical-binding is turned on in more use cases, John Wiegley, 2020/03/11
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/09
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/09
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/10
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/10