-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Would you like to help keeping ~/.emacs.d clean? #5947
Comments
To me this sounds like a good idea, that is going to benefit both Spacemacs and the broader Emacs community 👍 Spacemacs uses |
We can help to add support for the various variables we set to .cache directory but using this package does not fit Spacemacs architecture which isolates package configuration in init functions. Variables related to a package are set in its respective init function. Centralizing variables at some place may confuse users, lead to inconsistencies about what component is responsible for what and introduce latencies to support new variables. |
There is one advantage of such package that makes me reconsider my position on this: So I'm OK to move to this package :-) |
My motivation to create this package was similar; my init file contained some
Good to hear! I haven't worked on it since I opened this issue but now that it has your approval it's getting more likely that I will invest some time to compile a basic variable collection. I would like to give you and @justbur commit access. No obligation comes with that but it does mean that you can add settings as you see fit, without necessarily having to get my approval every time. If you actually go ahead and use this in Spacemacs, and should I be absent for a while, and then it would be unfortunate if you couldn't make necessary changes. Also this would be a good idea to discuss basic design decision. Using Likewise, do you have an suggestions on how files should be named? Should we always use a subdirectory if a package has more than one config/persistent file? Etc. We should try to soon make up our minds about such questions. (1) And I already had a borg-based starter-kit/distribution in mind. (If you have no idea what I am talking about, start here: Assimilate Emacs packages using Git submodules.) When using such a (for now hypothetical) starter-kit, users enable "layers" by merging branches. Of course maintaining layers as branches means that there will be merge conflicts and a borg-based starter-kit would therefore only be suitable for users who are not afraid of that. Since Spacemacs targets a much more diverse user-base, using Borg wouldn't make sense. Nevertheless I would be interested in hearing your thoughts on Borg (and am secretly hoping someone will create a Spacemacs fork that uses Borg, if only as a proof-of-concept, but that's probably wishful thinking). Even though a borg-based starter-kit is only intended for users who are not afraid of merge conflicts, it is still a good idea to avoid unnecessary conflicts. Having to configure a package just because it puts its config and persistent files in unfortunate places would result in such unnecessary conflicts. That was a major motivation for creating this package. I think it is a good thing to keep path settings separate from other configuration. At least when using Borg but I think that might also the case in the context of Spacemacs. |
Sure! :-)
I'm for it, a folder with the name of the package, the same name than in For the implementation I have no opinion on it, let's first make it work and put things at the correct place.
Currently Spacemacs uses |
example here: https://github.com/syl20bnr/spacemacs/blob/develop/layers/+lang/php/packages.el#L21 |
That's the idea, yes ;-)
Well, @justbur has already begun tweaking the implementation (emacscollective/no-littering#3). So will end up doing both in parallel ;-)
I think you misunderstood. Borg is an alternative to And I was also hoping for a little feedback on Borg, that's all ;-) |
Any updates? 😸 |
If I understand the purpose of #7334 and its entry for this issue correctly, then this should be closed. |
FWIW, "Discussion over" looks to me like it was almost certainly just an unfortunate misinterpretation of the discussion in this issue |
I would still like if Spacemacs started to use this package ... so reopening. |
There are so many open issues that keeping this open won't make a difference. And I care about keeping my own todo lists short, so closing again. |
I have just published an extremely early version of the
no-littering
package. From its description:Something like this only has a change at succeeding if enough people contribute and I though that maybe some of the people who maintain and contribute to Spacemacs would be interested to help out. Would you consider adding this to Spacemacs (of course only after it is a bit more complete)? Any suggestions/questions/...?
The text was updated successfully, but these errors were encountered: