emacs-devel
[Top][All Lists]
Advanced

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

Re: lexical-binding is turned on in more use cases


From: Stefan Monnier
Subject: Re: lexical-binding is turned on in more use cases
Date: Tue, 10 Mar 2020 15:05:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> You haven't answered the question.  Why did you not initiate a discussion
> on emacs-devel before committing this patch?  emacs-devel is where
> proposals that might or will break things get discussed; not a thread on
> bug-gnu-emacs, where most affected people won't see it.

It doesn't break any*thing*, AFAICT: the `--eval` change might break
some Makefile somewhere, but the `M-:` change shouldn't break any
existing code.

It only change the user-visible behavior.

AFAIK the breakage is unavoidable and inevitable in the long run,
because living with both variants of Elisp is a drag.  So the only
question is *when* and based on my observation that the majority of new
packages are nowadays written in the lexical dialect of Elisp, I think
now is a good time because it serves the needs of a majority of our
current Elisp coders.

The anecdotal evidence (this is the first complaint about this change
even tho it's been made about a year ago on `master`, compared to the
number of implicit "complaints" on stackexchange of sample code that
doesn't work because the sample assumes lexical scoping) seems to agree
that the tipping point between "majority dynamic" and "majority lexical"
has been reached.


        Stefan




reply via email to

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