Anandamide
Anandamide

Reputation: 243

Setting up Emacs to run Scheme code

I have emacs 24.5 for windows installed, and when I try to run a scheme program in the buffer with C-x C-e it says run-scheme and when I hit enter it then says searching for program: no such file or directory, scheme. Looking around I have only found tutorials for unix systems, and downloading Linux is not an option for me at this computer. The other resources I have found were vague or unhelpful. I would really like to use emacs but so far I have not been able to use it at all

Upvotes: 2

Views: 2304

Answers (1)

molbdnilo
molbdnilo

Reputation: 66459

  1. M-x customize-variable
  2. Enter 'scheme-program-name'. Press Enter.
  3. Replace 'scheme' with the path to your Scheme executable.
  4. Click the 'State' button and select 'Save for Future Sessions'.

Or, you could add the path to your Scheme to Windows' PATH variable and only use its name in 'scheme-program-name'.

Or, you can edit your startup file by hand, but that's not really necessary.

Upvotes: 2

Related Questions