bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddef


From: Andrea Corallo
Subject: bug#64712: 29.0.92; Emacs 29 with native compilation compiles cl-loaddefs.el on every startup
Date: Thu, 27 Jul 2023 12:12:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 27 Jul 2023 16:36:18 +0300
>> Cc: stephen.molitor@icloud.com, 64712@debbugs.gnu.org
>> From: Dmitry Gutov <dmitry@gutov.dev>
>> 
>> I suppose another approach would be along the lines of creating, for 
>> every such file, an artefact in native-compile cache anyway, with 
>> contents which would load the original uncompiled file (I'm assuming 
>> this step won't require extracting the file?).
>> 
>> Not sure if this is worth the hassle, though.
>
> It definitely isn't.

The closest solution to what Dmitry suggested is to actually remove the
cookie from the file so the eln is produced and we don't try to compile
it anymore.  It doesn't harm, again not the most elegant exit strategy
but at least is for free :)

  Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]