Subject: bug#59658: closed (Re: bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Nov 2022 16:50:02 +0000

Your bug report

#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59658: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59658
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories
From: Juanma Barranquero <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked]
Date: Mon, 28 Nov 2022 17:49:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed with commit 2772ebe366 of 2022-11-28:
Do not prune native-compiled system directories (bug#59658)

Subject: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories
From: Juanma Barranquero <[email-masked]>
To: Bug-Gnu-Emacs <[email-masked]>
Date: Mon, 28 Nov 2022 15:11:10 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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".