My .emacs file contains this line of code:
(setq geiser-racket-binary "C:/Program Files/Racket/Racket.exe")
My steps:
- M+x run-geiser
- Select racket
- I get errors, "Searching for program: No such file or directory, Racket.exe"
Getting this to work has been a hassle and, maybe at this point, I am just missing something ridiculously easy, but I am just not seeing it.
Picture of my error messages and file path
I am using a PC.
Without getting a chance to look at your PC and see if you if you actually have Racket installed at that location, I suspect the problem is that you are using forward slashes (
/
) rather than back slashes (\
) in your path. Try changing the line to:Another solution would be to use racket-mode to edit your files rather than Geiser. It seems to do a better job at editing Racket files in Emacs.