emacs-devel
[Top][All Lists]
Advanced

[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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]