Skip to content

[core] Fix some user-specific files to live in user-emacs-directory #16996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

bcc32
Copy link
Collaborator

@bcc32 bcc32 commented May 15, 2025

spacemacs-start-directory may be a shared, read-only folder if site
administrators decide to distribute a copy of Spacemacs with Emacs.
However, user-specific files like ELPA packages and private snippets
should be stored in user-emacs-directory in that case.

(The set of installed ELPA packages depends on the user's
dotspacemacs, and the private snippets are obviously user-specific.
Site administrators can set up shared snippets in some other location.)

bcc32 added 2 commits May 15, 2025 15:28
spacemacs-start-directory may in general be shared among multiple
users.  Packages for individual users should be installed into
user-emacs-directory instead, the same overall directory where the
package rollbacks are located anyway.

If site admins want to distribute packages with a shared copy of
Spacemacs, they should arrange to have packages installed in a
directory listed by package-directory-list instead.
If multiple users share the same Spacemacs installation, it makes more
sense to put the private/ directory under the user's individual
~/.emacs.d/ rather than in the shared clone.
@smile13241324 smile13241324 merged commit e2ccebf into syl20bnr:develop Jun 20, 2025
9 checks passed
@bcc32 bcc32 deleted the fix-user-specific-file-locations branch July 1, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants