emacs-devel
[Top][All Lists]
Advanced

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

Re: A cache directory?


From: Yuan Fu
Subject: Re: A cache directory?
Date: Sun, 16 Aug 2020 16:43:47 -0400


> On Aug 16, 2020, at 3:45 PM, Yuri Khan <yuri.v.khan@gmail.com> wrote:
> 
> 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

That’s good, too. But even just a single cache directory that cleans up 
.emacs.d is welcome.

Yuan


reply via email to

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