GNU bug report logs - #59658
native-compile-prune-cache deletes *.eln files in the build's native-lisp directories

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Mon, 28 Nov 2022 14:12:02 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 59658 <at> debbugs.gnu.org
Subject: Re: bug#59658: native-compile-prune-cache deletes *.eln files in the
 build's native-lisp directories
Date: Mon, 28 Nov 2022 16:46:32 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Mon, 28 Nov 2022 15:11:10 +0100
> 
> This is on Windows, and running Emacs in-place after building from trunk (no installation).
> 
> If you have several VERSION-xxxxxxxx directories under native-lisp/ and do 
> 
> M-x native-compile-prune-cache <RET>
> 
> this deletes any .eln files in the VERSION-xxxxxxxx directories of the stale caches. Their preloaded/
> subdirectories and content are not affected.
> 
> Presumably this should skip the last entry in native-comp-eln-load-path, which is documented as being
> "assumed to be the system one".

Yes, I think it should skip the last entry.  AFAIR, that was the intent with
this command, in which case what it does now is an oversight of sorts.




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

Previous Next


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