GNU bug report logs - #53891
29.0.50; native comp eln cache

Previous Next

Package: emacs;

Reported by: Colin McLear <mclear <at> fastmail.com>

Date: Wed, 9 Feb 2022 04:12:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Colin McLear <mclear <at> fastmail.com>
To: "Eli Zaretskii" <eliz <at> gnu.org>
Cc: 53891 <at> debbugs.gnu.org
Subject: bug#53891: 29.0.50; native comp eln cache
Date: Wed, 09 Feb 2022 23:46:30 -0500
[Message part 1 (text/plain, inline)]
Sounds good -- thank you. Let me know if I can provide any other useful 
information.


On 9 Feb 2022, at 8:54, Eli Zaretskii wrote:

>> From: Colin McLear <mclear <at> fastmail.com>
>> Date: Tue, 08 Feb 2022 23:10:24 -0500
>>
>> On recent version from emacs-master I've noticed that I can no longer
>> reliably set the eln-cache. I have the following in my early-init.el:
>>
>> ```
>> ;; Dir for eln-cache
>> (when (boundp 'native-comp-eln-load-path)
>> (setcar native-comp-eln-load-path
>> (expand-file-name (convert-standard-filename 
>> ".local/temp/cache/eln-cache/")
>> user-emacs-directory)))
>>
>> ;; Silence nativecomp warnings popping up
>> (setq native-comp-async-report-warnings-errors nil)
>>
>> ;; Settings
>> (setq native-comp-speed 2
>> native-comp-deferred-compilation t
>> package-native-compile t)
>> ```
>> But this isn't reliably setting the cache and I've had to rever to an
>> earlier commit where things worked (as reported in the versio info).
>
> This was never supported.  That it used to work for you was just luck.
>
> Since it sounds like people want to divert the eln-cache directory to
> custom places, something we didn't envision, we should support it
> correctly: by making the "eln-cache" directory name customizable
> instead of hard-coded.
>
> I will work on adding such a feature.  Please stay tuned.

__

Colin McLear
colinmclear.net
[Message part 2 (text/html, inline)]

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

Previous Next


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