bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66636: Move lexical-binding warning from checkdoc to byte-compiler


From: Eli Zaretskii
Subject: bug#66636: Move lexical-binding warning from checkdoc to byte-compiler
Date: Sat, 21 Oct 2023 19:08:28 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Mattias Engdegård <mattias.engdegard@gmail.com>,
>   luangruo@yahoo.com,
>   66636@debbugs.gnu.org,  stefankangas@gmail.com
> Date: Sat, 21 Oct 2023 11:44:55 -0400
> 
> > If specifying lexical-binding:nil in the first line is the solution
> > for those who want to keep dynamically-bound code, then yes, it should
> > be definitely in NEWS, and probably also in the ELisp manual.
> 
> FWIW, I think this would be a disservice to them (and to ourselves).

What will?

> We do want to allow people to silence the warning with
> `lexical-binding:nil`, but we don't want to encourage it.

NEWS is not about encouraging anything, it is about fire escape.  The
manual encourages (or discourages) certain practices, but NEWS is
about something else.





reply via email to

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