spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
erwinrooijakkers 2020-12-25T10:55:34.236900Z

I updated spacemacs develop branch but now get:

Error (use-package): debug/:init: Symbol's function definition is void: which-key-add-keymap-based-replacements
Error (use-package): display-line-numbers/:init: Symbol's function definition is void: which-key-add-keymap-based-replacements
Error (use-package): elisp-slime-nav/:init: Symbol's function definition is void: which-key-add-keymap-based-replacements
Warning (initialization): An error occurred while loading '/Users/erooijak/.emacs.d/init.el':

Symbol's function definition is void: which-key-add-keymap-based-replacements
Any idea how to fix this which-key-add-keymap-based-replacements error?

practicalli-john 2020-12-25T11:00:53.241700Z

Did you updated the packages as well - `SPC f e U? Did you updated your .spacemacs file from the spacemacs.template - SPC f e D I assume the error message occured when restarting Emacs. I assume you have tried restarting a couple of times

practicalli-john 2020-12-25T11:01:37.243200Z

Suggest moving your .spacemacs file out of the way (rename the file) and start Emacs

erwinrooijakkers 2020-12-25T11:01:38.243300Z

thanks. i restarted a few times

erwinrooijakkers 2020-12-25T11:01:47.243500Z

.spacemacs i did make a compare

erwinrooijakkers 2020-12-25T11:01:54.243800Z

and took some changes, but not all

erwinrooijakkers 2020-12-25T11:02:18.244300Z

i’ll try to move and then do compare

erwinrooijakkers 2020-12-25T11:03:10.245700Z

the same happens actually with moved .spacemacs file

erwinrooijakkers 2020-12-25T11:03:35.246200Z

maybe remove the folder

erwinrooijakkers 2020-12-25T11:03:40.246500Z

emacs.d

practicalli-john 2020-12-25T11:04:30.247700Z

If you get errors with the .spacemacs file that Spacemacs creates, then it sounds like the .emacs.d config was broken by the git pull to update

practicalli-john 2020-12-25T11:05:37.249400Z

.emacs.d/cache and .emac.d/private are the only directories that contain data that can't be reproduced

erwinrooijakkers 2020-12-25T11:05:51.249700Z

i’ll remove it completely

erwinrooijakkers 2020-12-25T11:05:57.250100Z

smart?

erwinrooijakkers 2020-12-25T11:06:32.250900Z

or maybe make a backup

erwinrooijakkers 2020-12-25T11:07:11.252400Z

i try with clean .emacs.d and my old .spacemacs now

practicalli-john 2020-12-25T11:07:18.252600Z

I would move the .emacs.d directory rather than delete it, you can always delete when everything is working

practicalli-john 2020-12-25T11:07:58.253400Z

Suggest moving both .emacs.d and .spacemacs out of the way

practicalli-john 2020-12-25T11:08:35.254600Z

Maybe even .spacemacs.env if you added anything to that too

practicalli-john 2020-12-25T11:09:18.255600Z

Much quicker to add your own changes to a working system

erwinrooijakkers 2020-12-25T11:09:19.255700Z

oh did not know that existed

erwinrooijakkers 2020-12-25T11:09:37.256300Z

thanks for the help i will get it to work with these hints!

practicalli-john 2020-12-25T11:09:59.257100Z

It's probably safe, especially if you didn't know it's there. Spacemacs will create a new one anyway

erwinrooijakkers 2020-12-26T17:56:18.260200Z

It worked after removing .emacs.d and cloning a fresh one from the develop branch. Thanks for helping!