Fork me on GitHub
#spacemacs
<
2021-08-19
>
kah0ona08:08:12

Hello folks, I upgraded emacs to 27.2, and my ‘*’ and ‘#’ buttons (to go to next appearance of word under cursor) stopped working, showing: Symbol’s function definition is void: spacemacs/symbol-highlight-transient-body

kah0ona08:08:44

any idea what might cause this?

kah0ona08:08:05

I’m kinda used to using VIM commands # and * ..

practicalli-johnny08:08:16

Upgraded from what version of Emacs? Another 27.x version or 26.x Did you upgrade packages / Spacemacs /dotfile from template?

kah0ona09:08:20

27.1 to 27.2

kah0ona09:08:41

basically removed emacs completely, and reinstalled, using brew cask

kah0ona09:08:52

it kind of works well in all other regards

kah0ona09:08:09

should I do something to spacemacs too?

practicalli-johnny09:08:17

My guess is that the Emacs packages updated and maybe something changes in their API. Or the packages need to be complied ) although I thought that was just for major Emacs versions). Simple things to try in no particular order 1) SPC f e D to check nothing is missing from the Spacemacs template 2) SPC f e U to update Emacs packages, maybe there was a temporary bug 3) remove the . emacs.d/elpa directory (or delete specific .elc files) and restart Emacs 4) Update Spacemacs https://practical.li/spacemacs/install-spacemacs/update.html Some other trouble shooting suggestions here https://practical.li/spacemacs/install-spacemacs/troubleshooting.html

kah0ona10:08:15

Thx, will go through these!

Drew Verlee19:08:55

how would i go about adding something to my emac exec-path or checking what's on it? I need to put node there as per these instructions: https://docs.cider.mx/cider/cljs/other_repls.html

Drew Verlee19:08:40

though i just realized i have been selecting shadow not node as my repl choice

Drew Verlee19:08:51

which is likely the real issue

Drew Verlee19:08:19

well my node connection failed to

Drew Verlee19:08:42

and now it worked

Drew Verlee19:08:46

thanks universe

practicalli-johnny19:08:50

SPC f e e to view or edit environment variables.

👍 3
practicalli-johnny19:08:01

A REPL restart is required to pick up new env vars or changes

Drew Verlee19:08:31

Do you think i would just be adding node to my PATH then?

Drew Verlee19:08:50

or do i need to add a EXEC-PATH variable?

Drew Verlee19:08:25

err don't worry about it. i think i'm barking up the wrong tree.

practicalli-johnny20:08:18

Can you run node -v in an Emacs shell?

Drew Verlee20:08:46

yep. thats a good sign

Drew Verlee20:08:01

is there a gobal dir-locals file by any chance?

practicalli-johnny20:08:10

Not that I am aware of.

practicalli-johnny20:08:43

But there is an alternative per directory file, dir-locals-2.el, but I suspect that's not helpful

practicalli-johnny20:08:55

I assume you could have a dir-locals.el file in the root of your user directory, but any dir-locals.el file in any sub-directory would be used instead.

Drew Verlee21:08:34

Thanks. The offending configuration problem was coming form my emacs-custom-settings what ever that does.

Drew Verlee21:08:30

i mean its clear what it does, i have no idea how i it got updated to contain that configuration such that it stuck around.

Drew Verlee21:08:09

i just removed it because it seems to be auto generated.