unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp]
@ 2021-04-29 21:59 Stefan Kangas
  2021-04-30  7:59 ` Eli Zaretskii
  2022-07-01 11:11 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 20+ messages in thread
From: Stefan Kangas @ 2021-04-29 21:59 UTC (permalink / raw)
  To: 48108; +Cc: Andrea Corallo

Severity: wishlist

Please consider adding a function and/or command to clear the eln
cache of redundant eln cache directories.

The exact details of this would of course need to be discussed, but as
a starting point perhaps we could imagine two modes of operation:

1.  Remove cache directories for versions older than the version
    specified by a new user option that defaults to
    (- emacs-major-version 2) or something.

    Remove cache directories for the same version as the current one
    but with a different hash.

    Remove duplicate directories for any given version, except the
    most recently added one.

2.  Remove all eln cache directories except the one currently in use.

I imagine that casual users only ever use one version of Emacs at the
same time (i.e. because they simply install Emacs using their package
manager), so perhaps the first one could be the default mode of
operation.

We could add a number of options to ensure a user can tweak this to
their own liking.

One idea for a command name is `native-compile-cache-clear'.





^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <CAAeL0SRmG9KtR7PLcmYrS2DUsiuWz72stWz=ir5F02rZnLfJ3A@mail.gmail.com>]

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

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29 21:59 bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Stefan Kangas
2021-04-30  7:59 ` Eli Zaretskii
2022-07-01 11:11 ` Lars Ingebrigtsen
2022-07-01 11:36   ` Eli Zaretskii
2022-07-01 16:18     ` Rudolf Schlatte
2022-07-01 18:13       ` Eli Zaretskii
2022-07-02 10:40     ` Lars Ingebrigtsen
2022-07-02 10:48       ` Eli Zaretskii
2022-07-02 11:01         ` Lars Ingebrigtsen
     [not found] <CAAeL0SRmG9KtR7PLcmYrS2DUsiuWz72stWz=ir5F02rZnLfJ3A@mail.gmail.com>
2022-11-28 12:44 ` Eli Zaretskii
2022-11-28 13:09   ` Juanma Barranquero
2022-11-28 13:22     ` Juanma Barranquero
2022-11-28 13:43       ` Eli Zaretskii
2022-11-28 13:54         ` Juanma Barranquero
2022-11-28 14:44           ` Eli Zaretskii
2022-11-28 15:14             ` Juanma Barranquero
2022-11-28 16:48               ` Eli Zaretskii
2022-11-28 16:53                 ` Juanma Barranquero
2022-11-28 13:38     ` Eli Zaretskii
2022-11-28 13:48       ` 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).