[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Most of Elisp lacks lexical-binding: t
From: |
T.V Raman |
Subject: |
Re: Most of Elisp lacks lexical-binding: t |
Date: |
Sun, 03 Feb 2019 19:46:57 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
I did this for emacspeak a few years ago --- and most issues were caught
by byte-compiler warnings. That said, the emacspeak codebase over the
years has used (cl-declare (special ...)) for special variables, which
likely helped with managing spurious byte-compiler warnings.
>> 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.
>
>
> Stefan
>
>
--
- 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 <=
- Re: Most of Elisp lacks lexical-binding: t, Phillip Lord, 2019/02/04
- 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