--- Begin Message ---
Subject: |
[PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH |
Date: |
Tue, 30 Nov 2021 16:21:06 +0000 (UTC) |
Hi,
It seems native-comp-async always store the *.eln files in to the
~/.emacs.d/eln-cache/.
We can switch the EMACSNATIVELOADPATH values to the head of
native-comp-eln-load-path,
then the *.eln will be stored in EMACSNATIVELOADPATH.
This patch try to enable custom the eln cache directory.
$ export EMACSNATIVELOADPATH=/tmp/eln-cache
$ emacs
B.R.
Lin
0001-lisp-startup.el-normal-top-level.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#52199: [PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH |
Date: |
Wed, 15 Dec 2021 13:09:16 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Andrea Corallo <akrl@sdf.org>
>> Date: Tue, 30 Nov 2021 16:31:55 +0000
>> Cc: Sun Lin <sunlin7@yahoo.com>
>>
>> > It seems native-comp-async always store the *.eln files in to the
>> > ~/.emacs.d/eln-cache/.
>>
>> More preciselly under: (expand-file-name "eln-cache/" user-emacs-directory)
>>
>> > We can switch the EMACSNATIVELOADPATH values to the head of
>> > native-comp-eln-load-path,
>> > then the *.eln will be stored in EMACSNATIVELOADPATH.
>>
>> Could you elaborate why would you want to do this?
>
> Yes, please. because I'm not sure we want to support that. In
> general, EMACSNATIVELOADPATH is for "system" *.eln files, and only the
> eln-cache directory is where the user-compiled *.eln files should
> live.
More information was requested, but none was given within 2 weeks, so
I'm closing this bug. If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.
--- End Message ---