-
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
spacemacs overwrites all customizations on every startup #595
Comments
These customizations should go at the end of your |
@henrycrutcher I see the problem, I see what I can do to fix this. |
^ this works now? |
After reading again the issue I'm not sure I understood it well. Is the changes gone (not in the dotfile anymore) or is the changes overwritten ? |
I'll test it out and see how it goes -- Thanks!!!! |
I tried to customize smooth-scroll-margin to change the margin from 5 to 1, and customize said it was changed outside customize, and when I customized it, it worked for that session, but restarting emacs and customizing it again, the value was back to 5, as if I had never been there. If there any way to figure out where the change is happening? @syl20bnr the changes do get saved in the .spacemacs -- they just get overridden after the customization is loaded -- here's the bottom of my .spacemacs ;; Do not write anything past this comment. This is where Emacs will |
Thanks for the explanations. This is a flaw in the way spacemacs loads. |
Thanks!!! |
@syl20bnr Is there any interest in a fix for this? I was thinking that, rather than have spacemacs/config.el set the custom file, its location could be added as one of the default init variables in the dotspacemacs/init function. The call to load the custom file could then be moved to either init.el or into spacemacs/setup-startup-hook. |
#3470 probably fixes this. |
Is this the same issue? When I open the customize GUI via the major mode it says I can see the changes I had made reflected in my |
I am now having this same issue where every time I start Emacs, all settings in my .spacemacs file in the "custom-set variables" section are being removed. |
Same here, confused where I should put it |
I was having this issue because I was previously defining the Now, I configure and then load the file in Because of intricacy around how Spacemacs package upgrade, loading, and selection is defined, I think it might be helpful to make the |
I've been having this problem off-and-on for a while now, although I haven't identified when it occurs. I've been running the develop branch for ~6 months now, and update my spacemacs repo/packages on a semi-regular basis. The variables I've customized (using the emacs customize facility) get blown away... sometimes, but not always when I restart emacs. I'm running:
I don't have any special configuration regarding a custom-file -- it's stored at the end of my ~/.spacemacs.d/init.el file. EDIT: As a random tidbit, |
@uberjay: you should see if updating packages and restarting Emacs is the cause. If so, look at my post above yours and try moving the custom file configuration code in |
Thanks, that does appear to have fixed it. I mistakenly moved the whole Thanks for the tip! |
This issue definitely isn't fixed. I set a bunch of customizations using |
Same here. I have been having problems switching themes as for the background seemed to always stay white. The problem was the |
To repro:
use M-x customize-variable to set a variable
restart emacs
notice changes are gone
The text was updated successfully, but these errors were encountered: