emacs-devel
[Top][All Lists]
Advanced

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

Re: Cleaning up and structuring user-emacs-directory


From: Gunnar Horrigmo
Subject: Re: Cleaning up and structuring user-emacs-directory
Date: Tue, 18 Aug 2020 09:51:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Amin Bandali <bandali@gnu.org> writes:

> Of the packages that aim to do this, I liked the approach of the
> "no-littering" package like the most.  Essentially, it designates two
> directories, one for config files and another for persistent data files,
> defaulting to "etc/" and "var/" under the `user-emacs-directory'
> respectively.  It then changes the directory/file location settings for
> many packages, dividing up each package's files into one of the two
> general categories.  If a package stores multiple files of the same
> category, no-littering creates a directory under that category with the
> package name to keep those files together.
>
> If we were to tackle this in Emacs itself, maybe we could have two
> defcustoms `user-config-directory' and `user-data-directory', defaulting
> to "etc/" and "var/" in `user-emacs-directory'.

Would it not be better to follow the freedesktop spec?
https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html

-- 
Gunnar



reply via email to

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