LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   running scheme through emacs (https://www.linuxquestions.org/questions/linux-software-2/running-scheme-through-emacs-243932/)

phoeniks 10-17-2004 07:06 PM

running scheme through emacs
 
I should be able to run and compile scheme code through emacs by hitting meta-x and then use "run-scheme" . However, emacs returns "scheme not found" or something similar. Scheme should be included, it came from a fresh install of suse 9.1 pro. I know it's a late version, as in 21.x, and i'm pretty sure it's actually the latest stable version (21.3). Bottom line, i don't care how, but i need to get scheme and get it working under emacs. I've looked for packages to install, and found nothing. I don't want to do the windows thing and reinstall a brand new download, i want to fix the problem, but if that's what i have to do i'll do it. Any help anyone can give is greatly appreciated. Thanks.

Tinkster 10-17-2004 09:01 PM

If you do
alt-x shell
and try to invoke run-scheme from there, what
do you get? And if the result is the same, what
you get from "echo $PATH" in the emacs shell?

Also, for C for example the way to compile the
buffer would commonly be to invoke
alt-x compile
which will prompt you for make -f <filename>.


Cheers,
Tink

phoeniks 10-17-2004 10:09 PM

First of all, thanks for the help. At any rate, I get the same feedback through the emacs shell as i do the meta-x run-scheme. echo $PATH returns this:

/home/myname/bin:/usr/local/bin:/usr/bin:/usr/x11R6/bin:/bin:/usr/games:/opt/gnome/bin
:/opt/kde3/bin:/usr/lib/java/jre/bin

thanks again.

Tinkster 10-17-2004 10:43 PM

Does the path you see in Emacs differ from your normal
shell PATH? Can you invoke run-scheme from a terminal?


Cheers,
Tink

phoeniks 10-17-2004 10:47 PM

nope and nope

Tinkster 10-18-2004 12:12 AM

It's probably not installed properly then, or needs to
be invoked differently from what you expected.



Cheers,
Tink


All times are GMT -5. The time now is 05:46 PM.