unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories
@ 2022-11-28 14:11 Juanma Barranquero
  2022-11-28 14:46 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2022-11-28 14:11 UTC (permalink / raw)
  To: 59658

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 837 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories
  2022-11-28 14:11 bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories Juanma Barranquero
@ 2022-11-28 14:46 ` Eli Zaretskii
  2022-11-28 16:49   ` Juanma Barranquero
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-11-28 14:46 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 59658

> From: Juanma Barranquero <lekktu@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories
  2022-11-28 14:46 ` Eli Zaretskii
@ 2022-11-28 16:49   ` Juanma Barranquero
  0 siblings, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2022-11-28 16:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 59658-done

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 200 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-28 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-28 14:11 bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories Juanma Barranquero
2022-11-28 14:46 ` Eli Zaretskii
2022-11-28 16:49   ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).