spacemacs

murtaza52 2024-07-01T15:22:16.719439Z

I updated my system (arch linux), and after restarting emacs it reinstalled spacemacs packages. Now the SPC SPC shortcut doesnt work, parens mode is not working so SPC k r will not work etc, not sure what is went wrong and how do I debug it.

practicalli-johnny 2024-07-01T15:25:51.837629Z

I always restart Emacs after it downloads packages. To make sure they downloaded and to make sure they all loaded when Emacs started. If Spacemacs is still not working after that, you could try the scorched earth approach and delete the elpa directory and try again (as a relatively quick hack). Dont do this if your switching back to the previous version of Emacs (or delete the devel/emacs-version directory for the newest version of Emacs) Otherwise open the *messages* buffer and see if there are specific errors or scary looking warnings. https://practical.li/spacemacs/install-spacemacs/troubleshooting/ has more suggestions for troubleshooting Spacemacs

practicalli-johnny 2024-07-01T15:27:51.018849Z

I assume a new point release of Emacs was installed in Arch Linux, e.g. was 29.2 and is now 29.3. Things might break a bit if Emacs 30 mightly was installed, but probably not as much as you originally described

murtaza52 2024-07-01T15:41:38.109479Z

emacs version is 29.4

murtaza52 2024-07-01T15:57:43.550199Z

@jr0cket which is the emacs version you are using ?

practicalli-johnny 2024-07-01T16:41:42.840169Z

I am on Emacs 29.2 on Mac and 29.3 on Linux. It seems that Emacs 29.4 is on Termux, so I will run that now and see if there are any issues. I will let you know the results as soon as it finishes... These things usually are a broken package, a bad package download or issues connecting to Melpa. If its a bad download (and a good internet connection is available), then removing the elpa/develop/29.4 directory in .emacs.d or .config/emacs is arguably the simplest approach, then restart Emacs to downlod the packages again.

practicalli-johnny 2024-07-01T17:38:49.195419Z

I think I've replicated a similar issue with Emacs 29.4. When on the Spacemacs home buffer I do get the which-key menu after pressing the SPC key. When in Clojure major mode or markdown major mode, pressing SPC or , keys does not show the which-key menu. However, the keys do seem to launch the Emacs commands even though the menu is not shown

murtaza52 2024-07-01T17:55:05.663869Z

deleting elpa and reinstalling packages worked ... now the keys are working. however evaluation in buffer does not work in clojurescript. I need to try with other versions of emacs and check.