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

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

bug#53497: 29.0.50; native-compile after restarting Emacs


From: Arash Esbati
Subject: bug#53497: 29.0.50; native-compile after restarting Emacs
Date: Mon, 24 Jan 2022 13:50:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Arash Esbati <arash@gnu.org>
>> Date: Mon, 24 Jan 2022 11:35:38 +0100
>> Cc: 53497@debbugs.gnu.org
>> 
>> >> Am I missing something?  This is Emacs dee029e19f compiled on Win10.
>
> How did you compile Emacs? did you use NATIVE_FULL_AOT=1 to natively
> compile all the bundled *.el files, or did you use the default build
> procedure that only natively compile only the preloaded *.el files?

I only pass '--with-native-compilation' to configure.

>> Sorry if I wasn't clear.  In case 2, Gnus libraries are not compiled at
>> all and I stick with 77 .eln files.  In case 1, I go up to more than 100
>> .eln files.
>
> If Emacs doesn't natively compile files it loads, it generally means
> it cannot access the source *.el files, or that you load the *.el
> files explicitly with the .el extension.
>
> And I don't understand why the Gnus files need to be compiled each
> time in the first place.

That's not my issue.  I don't want the files to be compiled again and
again (see below).

> they aren't supposed to change, so they should be natively compiled
> just once, when you first load them into an Emacs session.

This is exactly my problem that files don't get compiled if I re-start
Emacs and then they are loaded (e.g. RefTeX).  It works only in the
first session when Emacs sees the empty ~/.emacs.d/eln-cache/ and starts
the machinery.

Best, Arash





reply via email to

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