Subject: bug#52199: [PATH] 28.0.60; custom native-comp eln cache with EMACSNATIVELOADPATH

From: Eli Zaretskii <[email-masked]>
Date: Tue, 30 Nov 2021 19:22:48 +0200

> From: Andrea Corallo <[email-masked]>
> Date: Tue, 30 Nov 2021 16:31:55 +0000
> Cc: Sun Lin <[email-masked]>
> 
> > 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.