<div dir="ltr">Hi, <div><br></div><div>by some magic it got fixed! So sorry for the noise.  <br>I needed to restart my computer, and then wen emacs restarted, the whole orgmode didn't work and then threw some errors. I forced Orgmode mode, and then when I tried the archiving, I got a new error message about the org-archive-default-location not being set to the right value. When I fixed that, it now works. So it was an upstream error, just the upgrading of spacemacs wasn't smooth.<br>I was really scared for a minute that my spacemacs is broken, I don't know how I would work without it. <br><br>J,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Sep 2020 at 10:49, <a href="mailto:julia.biro@gmail.com">julia.biro@gmail.com</a> <<a href="mailto:julia.biro@gmail.com">julia.biro@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I have a problem with my org archive. I used to have as etup where archived items go to another file, but it stopped working. My `org-archive-default-command` variable is set to `org-archove-subtree`. The `org-archive-location` is set to "%s_archive::".  But when I do the archive command (or the archive subtree command) I get "invalid function: org-preserve-local-variables" and of course nothing gets archived. Of course I googled the question, Moss, it seems to be a bug that should go away after updating (it dodn't) and maybe recompiling? I found this open ticket <a href="https://github.com/syl20bnr/spacemacs/issues/11801" target="_blank">https://github.com/syl20bnr/spacemacs/issues/11801</a>. I have no .elc files in my .emacs.d and recompiling didn't do anything. <br>Sorry if my question seems noob. Spacemacs works out of the box almost all the time, so I really don't need to know a lot about it, not even whether it comes in binary form or is recompiled on each update. <br><br>thanks<br>Julia</div></div>
</blockquote></div>