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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52199 in the body.
You can then email your comments to 52199 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52199; Package emacs. (Tue, 30 Nov 2021 16:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sun Lin <sunlin7 <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 30 Nov 2021 16:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52199; Package emacs. (Tue, 30 Nov 2021 16:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 52199 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: 52199 <at> debbugs.gnu.org
Cc: Sun Lin <sunlin7 <at> yahoo.com>
Subject: Re: bug#52199: [PATH] 28.0.60; custom native-comp eln cache with
 EMACSNATIVELOADPATH
Date: Tue, 30 Nov 2021 16:31:55 +0000
Sun Lin via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

> Hi,

Hi

> 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?

BR

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52199; Package emacs. (Tue, 30 Nov 2021 17:23:02 GMT) Full text and rfc822 format available.

Message #11 received at 52199 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: sunlin7 <at> yahoo.com, 52199 <at> debbugs.gnu.org
Subject: Re: bug#52199: [PATH] 28.0.60;
 custom native-comp eln cache with EMACSNATIVELOADPATH
Date: Tue, 30 Nov 2021 19:22:48 +0200
> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52199; Package emacs. (Wed, 01 Dec 2021 01:36:01 GMT) Full text and rfc822 format available.

Message #14 received at 52199 <at> debbugs.gnu.org (full text, mbox):

From: Sun Lin <sunlin7 <at> yahoo.com>
To: "52199 <at> debbugs.gnu.org" <52199 <at> debbugs.gnu.org>, 
 Eli Zaretskii <eliz <at> gnu.org>, "akrl <at> sdf.org" <akrl <at> sdf.org>
Subject: Re: bug#52199: [PATH] 28.0.60;  custom native-comp eln cache with
 EMACSNATIVELOADPATH
Date: Wed, 1 Dec 2021 01:34:58 +0000 (UTC)
> From: Andrea Corallo <akrl <at> sdf.org>

> Could you elaborate why would you want to do this?

I want custom the eln-cache path to be lib/emacs/28.0.60/native-lisp/.


>general, EMACSNATIVELOADPATH is for "system" *.eln files, and only the
eln-cache directory is where the user-compiled *.eln files should

Got your point, and I can workaround the request in my scenario.

Please help close this issue.

Thank you all.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52199; Package emacs. (Wed, 01 Dec 2021 03:36:02 GMT) Full text and rfc822 format available.

Message #17 received at 52199 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sun Lin <sunlin7 <at> yahoo.com>
Cc: akrl <at> sdf.org, 52199 <at> debbugs.gnu.org
Subject: Re: bug#52199: [PATH] 28.0.60;  custom native-comp eln cache with
 EMACSNATIVELOADPATH
Date: Wed, 01 Dec 2021 05:35:26 +0200
> Date: Wed, 1 Dec 2021 01:34:58 +0000 (UTC)
> From: Sun Lin <sunlin7 <at> yahoo.com>
> 
> > From: Andrea Corallo <akrl <at> sdf.org>
> 
> > Could you elaborate why would you want to do this?
> 
> I want custom the eln-cache path to be lib/emacs/28.0.60/native-lisp/.

Why is that?




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 03 Dec 2021 00:53:02 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 15 Dec 2021 21:10:02 GMT) Full text and rfc822 format available.

Notification sent to Sun Lin <sunlin7 <at> yahoo.com>:
bug acknowledged by developer. (Wed, 15 Dec 2021 21:10:02 GMT) Full text and rfc822 format available.

Message #24 received at 52199-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Jan 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 103 days ago.

Previous Next


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