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:43:55 +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 12:00:23 +0100
>> Cc: 53497@debbugs.gnu.org
>
> What exactly do you mean by comp-native-version-dir? it is not a full
> directory name, and there should be 2 such directories in any Emacs
> installation: one under lib/emacs/ and another under
> ~/.emacs.d/eln-cache/.  Which one did you delete?

I deleted only the files in ~/.emacs.d/eln-cache/, to be more accurate,
~/.emacs.d/eln-cache/29.0.50-e0a1564a.  I didn't touch the directly
itself.

> More importantly, why do you delete that directory? what is the
> purpose of that, and what did you expect to happen as result?

I had the impression that the deferred compilation doesn't work for me,
hence I deleted the files and played with the scenarios I described.

>> - Started Emacs
>> - Waited for 77 .eln to be compiled under `comp-native-version-dir'
>> - Started Gnus
>> - Watched Gnus libraries getting compiled
>> 
>> Case 2)
>> - Killed Emacs
>> - Deleted all files in `comp-native-version-dir'
>> - Started Emacs
>> - Waited for 77 .eln to be compiled under `comp-native-version-dir'
>> - Killed Emacs
>> - Started Emacs
>> - Started Gnus
>> - No compilation happens under `comp-native-version-dir'
>
> Which of these 2 scenarios sounds problematic to you, and why?

2) is problematic to me because Emacs doesn't compile libraries when I
use them after a re-start.  Gnus was only an example, it also doesn't
work when I load a .tex file with RefTeX enabled.  RefTeX libraries are
not compiled.  I basically stick with 77 .eln files forever.

Best, Arash





reply via email to

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