[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled
From: |
Juri Linkov |
Subject: |
bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled |
Date: |
Sat, 15 Oct 2022 22:16:01 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> (defvar auto-mode-alist
>> ...
>> ;; .dir-locals.el is not really Elisp. Could use the
>> ;; `dir-locals-file' constant if it weren't defined below.
>> ("\\.dir-locals\\(?:-2\\)?\\.el\\'" . lisp-data-mode)
>
> To stay in the spirit of bug#58075, if we consider the major mode
> specified in `auto-mode-alist` (and `mode:` cookies) as a proxy for
> "file type", maybe we should arrange to try and avoid byte-compiling
> those `.el` files whose major mode is `lisp-data-mode` (or: is not
> `emacs-lisp-mode`)?
I don't know if such case is possible that auto-mode-alist specifies
lisp-data-mode for a file type to avoid byte-compiling, but
some file of that type needs to override its file type's default
by using a cookie `no-byte-compile: nil`?
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, (continued)
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Stefan Monnier, 2022/10/15
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Lars Ingebrigtsen, 2022/10/16
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Stefan Kangas, 2022/10/15
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Stefan Monnier, 2022/10/15
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Lars Ingebrigtsen, 2022/10/16
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Philip Kaludercic, 2022/10/16
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Lars Ingebrigtsen, 2022/10/16
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Stefan Monnier, 2022/10/14
- bug#58506: Use ".dir-locals.eld" and ".dir-locals-2.eld" when they exist, Philip Kaludercic, 2022/10/14
- bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled, Stefan Monnier, 2022/10/14
- bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled,
Juri Linkov <=
- bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled, Stefan Monnier, 2022/10/16
bug#58486: [PATCH] Prevent .dir-locals.el from being byte-compiled, Lars Ingebrigtsen, 2022/10/13