With every start of Emacs 29, native comp starts compiling the files cl-loaddefs.el and tramp-loaddefs.el, but I can’t find corresponding *.eln files in (all) native-lisp directories. (Native compiling other (internal & extra) packages works, it is not an issue with access rights.)

What is the use of that behavior?

I could disable that native jit compiling, by putting following line in my early-init.el

(setq native-comp-jit-compilation-deny-list '(".*-loaddefs.el.gz"))

Would that break some facilities within Emacs, if I do so?

  • SlowValueOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    thanks!

    I found this: https://lists.gnu.org/r/bug-gnu-emacs/2023-07/msg01135.html

    From above link:
    Those files have set no-byte-compile to t, but Emacs needs to open those files (and reports it) in order to see this setting.

    So, setting native-comp-jit-compilation-deny-list won’t do any harm here. I will use it to suppress this messages.