[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default lexical-binding to t
From: |
tomas |
Subject: |
Re: Default lexical-binding to t |
Date: |
Fri, 8 Nov 2024 07:29:06 +0100 |
On Fri, Nov 08, 2024 at 12:38:08AM +0000, Stefan Kangas wrote:
> Christopher Howard <christopher@librehacker.com> writes:
>
> > Hi, I just wanted to mention one little thing (feature request?): I
> > noticed that, if I include this
> >
> > ``` ;;; ... -*- lexical-binding: nil -*- ```
> >
> > in order to purposefully set the lexical-binding to dynamic — I'm a
> > rebel, I guess — then the mode-line still gives the "/d" a warning
> > face. In my theme, that shows up as bright red. But if I set it to "t"
> > instead, then I get a "/l" without a warning color. I don't see why,
> > if I purposely chose dynamic binding, that Emacs should treat it as a
> > bad thing which I need to be warned about.
>
> Yes, that is on purpose. See (info "(elisp) Coding Conventions"):
That sounds counterproductive, IMO. If the user intentionally choses dynamic
binding, I'd rather not warn.
Cheers
--
t
signature.asc
Description: PGP signature
- Re: Default lexical-binding to t, (continued)
- Re: Default lexical-binding to t, Jose A. Ortega Ruiz, 2024/11/06
- Re: Default lexical-binding to t, Stefan Monnier, 2024/11/08
- Re: Default lexical-binding to t, Richard Stallman, 2024/11/06
- Re: Default lexical-binding to t, Eli Zaretskii, 2024/11/07
- Re: Default lexical-binding to t, Richard Stallman, 2024/11/06
Re: Default lexical-binding to t, Christopher Howard, 2024/11/07
- Re: Default lexical-binding to t, Stefan Kangas, 2024/11/07
- Re: Default lexical-binding to t, Eli Zaretskii, 2024/11/08
- Re: Default lexical-binding to t, Stefan Kangas, 2024/11/08
- Re: Default lexical-binding to t, Suhail Singh, 2024/11/08
- Re: Default lexical-binding to t, Stefan Kangas, 2024/11/08
Re: Default lexical-binding to t, Eli Zaretskii, 2024/11/08
Re: Default lexical-binding to t, Eli Zaretskii, 2024/11/08