spacemacs

jumar 2024-02-05T20:07:30.652159Z

I'm getting this error when installing spacemacs on a new macbook. Using Emacs 29.2 https://emacsformacosx.com/

⛔ Error (use-package): Cannot load evil-evilified-state
⛔ Warning (initialization): An error occurred while loading '/Users/jumar/.emacs.d/init.el':

Symbol's value as variable is void: evil-evilified-state-map

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the '--debug-init' option to view a complete error backtrace.
This is after using the spacemacs installation instructions - using the master branch. Anything I'm doing wrong?

practicalli-johnny 2024-02-05T20:47:49.442059Z

The default branch is develop and has been for several years now. Unless explicitly cloning the master branch, then it should be develop you are using. If the master branch was specifically cloned (or checked out) then I would expect quite a few things to break once packages were downloaded (as many packages have changed)

practicalli-johnny 2024-02-05T20:50:06.020169Z

If the zip file of spacemacs config was downloaded from http://spacemacs.org that does contain master branch from about 2 years ago. So I would consider that option unsupported.

practicalli-johnny 2024-02-05T20:52:08.650859Z

The clone command on the http://spacemacs.org website will download the develop branch

git clone  ~/.emacs.d

practicalli-johnny 2024-02-05T20:55:09.340989Z

The spacemacs install instructions on Practicalli Spacemacs should be up to date, (september 2023 last updated) and they cover XDG and standard config locations, as well as how to use the Practicalli Spacemacs user config https://practical.li/spacemacs/install-spacemacs/

practicalli-johnny 2024-02-05T20:56:15.994919Z

I think the error posted at the start of the thread is related to changes that occurred in the evil packages over the last year, which definitely wont be in master if that is what is actually been used.

practicalli-johnny 2024-02-05T21:01:01.313879Z

If develop branch is being used. I suggest moving any Spacemacs user configuration files or directories, e.g. $HOME/.spacemacs or $HOME/.spacemacs.d or the XDG location, or any $SPACEMACSDIR file. Then start Emacs and let spacemacs create a new user config and see if the issue still remains. Starting Emacs this way should prompt a question from Spacemacs about Evil vs Holy mode (select evil) and if to use the standard or bare distribution (select standard).

practicalli-johnny 2024-02-05T21:02:11.995069Z

There are more ideas in the troubleshooting guide. https://practical.li/spacemacs/install-spacemacs/troubleshooting/

jumar 2024-02-05T21:02:27.616159Z

You are right, I'm on develop

jumar 2024-02-05T21:02:52.552989Z

From https://www.spacemacs.org/#spacemacs

git clone  ~/.emacs.d

jumar 2024-02-05T21:04:21.389869Z

I should have made it clear that I did a really fresh installation. I did not copy over my old .spacemacs file at all. And I selected evil and standard installation

jumar 2024-02-05T21:05:04.911709Z

I had p;roblems with 29.x versions before that's why I suspect it might cause those problems. I might try 28.2 to see if it makes any difference

practicalli-johnny 2024-02-05T21:05:21.349309Z

It could just be a corrupted package download or a bad compile of the evil packages. In which case I would delete the evil packages or .elc files from the evil package directories in .emacs.d/elpa/29.2/develop/

practicalli-johnny 2024-02-05T21:07:37.742489Z

Many people also recommend usinghttps://github.com/d12frosted/homebrew-emacs-plusfor MacOSX (this is what I have been using on a Mac since Emacs 29)

practicalli-johnny 2024-02-05T21:08:19.882569Z

I am not using native compilation on the Mac and it seems to run okay without it. (AMD chipset on Mac, not intel)

jumar 2024-02-05T21:08:48.764459Z

I have m3 pro. I'll try emacs plus and fresh installation

👍 1
jumar 2024-02-05T22:36:12.780959Z

Seems to be working better now - thanks!

👍 2