You are not logged in.
Hi all,
I'm trying to learn scheme in emacs. In theory, getting a scheme interpreter in emacs should be as simple as:
1. M-x load-library
xscheme
2. M-x run-scheme
Step 1 seems to work just fine. xscheme comes with emacs and can be found in /usr/share/emacs/26.2/lisp/progmodes/
Step 2 results in an error: "Searching for program: No such file or directory, scheme"
I'm under the impression that there should be a scheme binary somewhere, and that I probably need to go into
M-x customize-group
scheme
and change "Scheme Program Name" to the path to the binary. But I don't know where the binary is located. Or maybe I have the wrong idea and need to do something else. My emacs setup is pretty much all default, as I'm just getting started. I'm probably missing something really obvious. Any ideas?
Last edited by MikeMLP (2019-05-16 11:14:57)
Offline
Well which scheme compiler did you install? in general you can look at files a specific package provides with pacman: https://wiki.archlinux.org/index.php/Pa … cific_file
Last edited by V1del (2019-05-15 11:26:02)
Offline
As V1del points out, you might not have a compiler installed. xscheme is not a compiler but an emacs mode for interacting with 'inferior' scheme processes. I am not sure what is 'inferior' about some of them, that comes from the emacswiki. If you install mit-scheme from community, you should not need xscheme and should have no problems. If you made a change in customize-group, make sure you change it back to 'scheme'.
Offline
Installing mit-scheme, and then completing steps 1 and 2 worked.
I was in the car driving to work yesterday morning when I thought, "Waiiit, I probably haven't actually installed a scheme compiler, I've probably just loaded a library for interacting with a scheme compiler...." I checked the forums and saw your posts at lunchtime, which confirmed.
How embarrassing! Hence, the newbie corner. Thank you for being nice about it and taking the question seriously
.
Offline