[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44854: [PATCH] Add lexical-binding cookie to autoload files
From: |
Eli Zaretskii |
Subject: |
bug#44854: [PATCH] Add lexical-binding cookie to autoload files |
Date: |
Sat, 28 Nov 2020 09:59:06 +0200 |
> From: Andy Moreton <andrewjmoreton@gmail.com>
> Date: Fri, 27 Nov 2020 22:39:27 +0000
>
> If adding a lexical-binding tag has no effect on the autoload files
> (other than making them a few bytes larger), then it should be of no
> consequence.
The additional code in autoload.el is such a consequence, if nothing
else.
> Adding the tag to the autoloads is not about needing code changes, but
> simply a marker that those files are ready for the flip-the-switch
> event.
They are already ready for the flip.
> However, by treating all .el files uniformly (including autoloads), it
> makes it easier to write scripts that check for lexical binding support
> in source files.
That is an advantage too small to justify the change. Skipping files
that all match a simple wildcard pattern is easy. We will always need
to skip some files anyway, for example .dir-locals.el.
It makes no sense to me, sorry.
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, (continued)
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Eli Zaretskii, 2020/11/25
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Philipp Stephani, 2020/11/25
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Eli Zaretskii, 2020/11/25
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Stefan Monnier, 2020/11/25
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Eli Zaretskii, 2020/11/25
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Stefan Kangas, 2020/11/25
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Eli Zaretskii, 2020/11/26
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Andy Moreton, 2020/11/27
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files,
Eli Zaretskii <=
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Lars Ingebrigtsen, 2020/11/29
- bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Stefan Kangas, 2020/11/25
bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Drew Adams, 2020/11/24
bug#44854: [PATCH] Add lexical-binding cookie to autoload files, Stefan Monnier, 2020/11/24