* core-load-paths.el: Support spacemacs-cache-directory from env variable - #16706
* core-load-paths.el: Support spacemacs-cache-directory from env variable#16706sunlin7 wants to merge 1 commit into
Conversation
|
I think that |
…able Support initializing the spacemacs-cache-directory from environment variable SPACEMACSCACHE or XDG_CACHE_HOME.
56f1b49 to
68e7e31
Compare
|
@fnussbaum Thanks for comment, I had change the code to detect the |
|
I think @fnussbaum's comment extends beyond the changes you made. If I understand correctly, we should not use |
|
This is a good point, it is indeed better to first clean up the use of the cache directory, thanks @bcc32. (I can see how my comment might have been slightly ambiguous.) @sunlin7 Thanks for taking the initiative with #16759! I'll need some more time to review it, as I would like to make sure that we do this correctly for all kinds of files, and document it well, such that users that would like to use the new locations can easily migrate, and only have to do it once. It might also make sense to adopt the no-littering package, but I am not so sure about it yet. |
|
@fnussbaum Thank you for looking into this, look forward the progress : ) |
Fix the #12127 by supporting the
spacemacs-cache-directoryfrom environment variable SPACEMACSCACHE or XDG_CACHE_HOME.NOTE:
This PR can be the first step to start supporting the XDG_* directories to fix #3589.