[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical-binding is turned on in more use cases
From: |
Eli Zaretskii |
Subject: |
Re: lexical-binding is turned on in more use cases |
Date: |
Sun, 08 Mar 2020 21:40:17 +0200 |
> Date: Sun, 8 Mar 2020 19:30:48 +0000
> From: Alan Mackenzie <address@hidden>
> Cc: Stefan Monnier <address@hidden>, address@hidden
>
> > > We could say that to recover the original behavior, instead of
>
> > > --eval "<foo>"
>
> > > the command could use
>
> > > --eval "(eval '<foo>)"
>
> > And the same for M-:?
>
> As it happens, this issue bit me this afternoon. I instrumented a
> function for edebug and tried
>
> M-: (c-align-cpp-indent-to-body)
>
> . This complained about c-syntactic-context being unbound, so I
> tried:
>
> M-: (let ((c-syntactic-context (c-guess-basic-syntax)))
> (c-align-cpp-indent-to-body))
>
> , and was puzzled that c-syntactic-context was _still_ unbound. So I
> checked the spelling, and was more puzzled. Eventually I used setq,
> which worked, but caused me further problems later on in my Emacs
> session.
Does it help to say
M-: (eval (c-align-cpp-indent-to-body))
instead?
- lexical-binding is turned on in more use cases, Eli Zaretskii, 2020/03/07
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Eli Zaretskii, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Eli Zaretskii, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Eli Zaretskii, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/08
- Re: lexical-binding is turned on in more use cases,
Eli Zaretskii <=
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Eli Zaretskii, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Alan Mackenzie, 2020/03/08
- 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, Stefan Monnier, 2020/03/08
- Re: lexical-binding is turned on in more use cases, Stefan Monnier, 2020/03/08
- Re: lexical-binding is turned on in more use cases, John Wiegley, 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, Drew Adams, 2020/03/09