[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declaring 'lexical-binding: nil' obsolete
From: |
Po Lu |
Subject: |
Re: Declaring 'lexical-binding: nil' obsolete |
Date: |
Sun, 26 Sep 2021 10:55:13 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> I disagree; the warning is clear.
The problem is not something that a byte compiler warning will solve.
Updating the documentation will do much more to solve that, than a
byte-compiler warning.
> Where the documentation is not yet updated to recommend lexical binding,
> it should be fixed.
Yes, agreed.
>> But why does the NEWS entry you have proposed include:
>>
>> Third-party code will need to be changed to support
>> 'lexical-binding:t' to run properly on Emacs in the future.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Because this is true if the plan is to change the default.
So in the future, dynamically bound code (lexical-binding: nil) must
also work with lexical binding (lexical-binding: t)?
That amounts to a removal of the dynamically bound variant of Emacs
Lisp.
Re: Declaring 'lexical-binding: nil' obsolete, Eduardo Ochs, 2021/09/25
Re: Declaring 'lexical-binding: nil' obsolete, Eli Zaretskii, 2021/09/26
Deprecating 'lexical-binding: nil', Richard Stallman, 2021/09/27