Does anyone use Spacemacs?
I used to
Recently switched to Doom Emacs
Argh okay. Getting an issue when trying to execute racket-mode
Can you run racket
in terminal?
yes
That is, input SPC f e e
Do I need to include racket bin as a PATH?
Yeah, sure.
Just in case: remember to restart spacemacs after changing the path in the terminal.
Well, and also restart spacemacs after SPC f e e
.
The problem is that Emacs as a GUI application doesn’t read PATH
, but there are packages that will copy over settings from PATH
to Emacs. Spacemacs uses this package, and it’s invoked via SPC f e e
.
Thanks. I fixed it now. Deleted Racket then installed via brew so spacemacs could pick it up
Got it working now. Thanks guys. Bit easier to work with now :slightly_smiling_face:
As that mentions, on macOS some people like to use the little exec-path-from-shell
package to handle that issue generally.
Also you can always change the Emacs customization var racket-program
to an absolute path. (I do that sometimes just b/c I juggle various versions of Racket sometimes to test things.)
This is probably more info than you wanted to know, just to run, and you already found a solution — but in case you ever need/want it, there you go. :smile: