[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Most of Elisp lacks lexical-binding: t
From: |
Phillip Lord |
Subject: |
Re: Most of Elisp lacks lexical-binding: t |
Date: |
Mon, 04 Feb 2019 12:07:50 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> My feeling is that most files could just be changed without problems,
>> but there will be enough exceptions that it needs to be done carefully.
>
> FWIW, my local Emacs build is hacked so that it always compiles with
> lexical-binding enabled. In practice, it seems that most packages work
> just fine with it, but there are indeed very definite exceptions, and
> even for those packages that appear to work, the change may introduce
> subtle regressions.
>
> So, yes, it has to be done "by hand" and takes time. Help is
> most welcome. The best is to do it with the packages that you use, so
> you can more easily test the result.
The question is, though, at what point does it become the default?
One answer would be, support a "dynamic-binding" cookie line for
Emacs-27 (which does nothing by default), incorporate your
lexical-binding hack as an option. Then, go to lexical by default for
Emacs-28.
Phil
- Most of Elisp lacks lexical-binding: t, Simon Reiser, 2019/02/02
- Re: Most of Elisp lacks lexical-binding: t, Alan Mackenzie, 2019/02/02
- Re: Most of Elisp lacks lexical-binding: t, Stefan Monnier, 2019/02/03
- Re: Most of Elisp lacks lexical-binding: t, T.V Raman, 2019/02/03
- Re: Most of Elisp lacks lexical-binding: t,
Phillip Lord <=
- Re: Most of Elisp lacks lexical-binding: t, Stefan Monnier, 2019/02/04
- Re: Most of Elisp lacks lexical-binding: t, Eli Zaretskii, 2019/02/04
- Re: Most of Elisp lacks lexical-binding: t, Phil Sainty, 2019/02/05
- Re: Most of Elisp lacks lexical-binding: t, Stefan Monnier, 2019/02/05
- Re: Most of Elisp lacks lexical-binding: t, Phillip Lord, 2019/02/06
- Re: Most of Elisp lacks lexical-binding: t, Stefan Monnier, 2019/02/06
- Re: Most of Elisp lacks lexical-binding: t, Paul Eggert, 2019/02/07
- Re: Most of Elisp lacks lexical-binding: t, Stefan Monnier, 2019/02/07
- Re: Most of Elisp lacks lexical-binding: t, Stefan Monnier, 2019/02/05
- Re: Most of Elisp lacks lexical-binding: t, Richard Stallman, 2019/02/06