Skip to content
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

Fixes #3379 - use emacs version specific elpa directories #4312

Closed
wants to merge 1 commit into from
Closed

Fixes #3379 - use emacs version specific elpa directories #4312

wants to merge 1 commit into from

Conversation

emacs18
Copy link
Contributor

@emacs18 emacs18 commented Dec 28, 2015

Let ROOT represent the spacemacs root directory. Spacemacs installs
packages into ROOT/elpa directory. This is problematic for those who use
multiple versions of emacs, e.g., emacs 24 and 25 or even emacs 24.3 and
24.5. This is because the byte compiled files may not be compatible from
one version of emacs to another. Hence it is important to use separate
directories to house byte compiled files for different versions of
emacs. That is why directories such as ROOT/elpa-24.5 and ROOT/elpa-25.0
are proposed instead of ROOT/elpa.

Let ROOT represent the spacemacs root directory. Spacemacs installs
packages into ROOT/elpa directory. This is problematic for those who use
multiple versions of emacs, e.g., emacs 24 and 25 or even emacs 24.3 and
24.5. This is because the byte compiled files may not be compatible from
one version of emacs to another. Hence it is important to use separate
directories to house byte compiled files for different versions of
emacs. That is why directories such as ROOT/elpa-24.5 and ROOT/elpa-25.0
are proposed instead of ROOT/elpa.
@StreakyCobra
Copy link
Contributor

Similar to #3384 (if one get merged, the other one should be closed)

@bmag
Copy link
Collaborator

bmag commented Dec 28, 2015

Don't forget about rollbacks - they should also be separated by version. That said, I'm not sure my PR handles rollbacks perfectly (IIRC there was some issue, maybe I'll get back to it sometime).

@syl20bnr syl20bnr changed the title use emacs version specific elpa directories Fixes #3379 - use emacs version specific elpa directories Mar 5, 2016
@TheBB
Copy link
Collaborator

TheBB commented Aug 13, 2016

After merging #3384 I'm closing this one.

@TheBB TheBB closed this Aug 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants