* Default lexical-binding to t
@ 2024-11-01 12:55 Stefan Monnier
2024-11-01 14:42 ` Gerd Möllmann
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2024-11-01 12:55 UTC (permalink / raw)
To: emacs-devel
In bug#74145 I suggest that it is time to change the default of
`lexical-binding` to t. Clearly this is a breaking change, but only for
those files which:
- Don't have a `lexical-binding` cookie.
- Have code which happens to behave differently under the new dialect
(such code is not rare, but a lot of code works identically in the
two dialects).
I believe by the time Emacs-31 will be released, such files will be
uncommon, and it is easy to fix them (either by adjusting he code, or
by slapping a `lexical-binding` cookie).
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Default lexical-binding to t
2024-11-01 12:55 Default lexical-binding to t Stefan Monnier
@ 2024-11-01 14:42 ` Gerd Möllmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Möllmann @ 2024-11-01 14:42 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> In bug#74145 I suggest that it is time to change the default of
> `lexical-binding` to t. Clearly this is a breaking change, but only for
> those files which:
>
> - Don't have a `lexical-binding` cookie.
> - Have code which happens to behave differently under the new dialect
> (such code is not rare, but a lot of code works identically in the
> two dialects).
>
> I believe by the time Emacs-31 will be released, such files will be
> uncommon, and it is easy to fix them (either by adjusting he code, or
> by slapping a `lexical-binding` cookie).
+1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-01 14:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01 12:55 Default lexical-binding to t Stefan Monnier
2024-11-01 14:42 ` Gerd Möllmann
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).