GNU bug report logs - #52199
[PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH

Previous Next

Package: emacs;

Reported by: Sun Lin <sunlin7 <at> yahoo.com>

Date: Tue, 30 Nov 2021 16:22:02 UTC

Severity: normal

Tags: moreinfo

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefan <at> marxist.se>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#52199: closed ([PATH] 28.0.60; custom native-comp eln cache
 with EMACSNATIVELOADPATH)
Date: Wed, 15 Dec 2021 21:10:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 15 Dec 2021 13:09:16 -0800
with message-id <CADwFkm=BvOXMMHXHEMWd1VPFStTPJ-1vXzidWjmWOTn3eTOytQ <at> mail.gmail.com>
and subject line Re: bug#52199: [PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH
has caused the debbugs.gnu.org bug report #52199,
regarding [PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
52199: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52199
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sun Lin <sunlin7 <at> yahoo.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH
Date: Tue, 30 Nov 2021 16:21:06 +0000 (UTC)
[Message part 3 (text/plain, inline)]
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 (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52199-done <at> debbugs.gnu.org, sunlin7 <at> yahoo.com,
 Andrea Corallo <akrl <at> sdf.org>
Subject: Re: bug#52199: [PATH] 28.0.60;
 custom native-comp eln cache with EMACSNATIVELOADPATH
Date: Wed, 15 Dec 2021 13:09:16 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andrea Corallo <akrl <at> sdf.org>
>> Date: Tue, 30 Nov 2021 16:31:55 +0000
>> Cc: Sun Lin <sunlin7 <at> 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.


This bug report was last modified 3 years and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.