[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A cache directory?

From: Yuri Khan
Subject: Re: A cache directory?
Date: Mon, 17 Aug 2020 02:45:23 +0700

On Mon, 17 Aug 2020 at 02:30, Yuan Fu <casouri@gmail.com> wrote:
> Maybe this has been discussed but I can’t find any threads in the archive. 
> .emacs.d is pretty crowded: every package puts their temporary files under 
> it. I wonder if there could be a standard cache directory? I know there are 
> packages that's solely for this purpose: resetting every single xxx-file to 
> be under a cache directory. However, it would be better if there is just a 
> standard one and everybody uses it.

There is a package called [no-littering][1] that modifies many
packages’ defaults to use .emacs.d/var/ for their persistent data, of
which caches are a subset. The convention (simplified; see README for
full details) is, if a package has a single persistent file, then it
goes right there; otherwise, they go in a subdirectory named after the
package responsible.

[1]: https://github.com/emacscollective/no-littering

reply via email to

[Prev in Thread] Current Thread [Next in Thread]