LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-17-2004, 08:06 PM   #1
phoeniks
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
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.
 
Old 10-17-2004, 10:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 10-17-2004, 11:09 PM   #3
phoeniks
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 10-17-2004, 11:43 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Cheers,
Tink
 
Old 10-17-2004, 11:47 PM   #5
phoeniks
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
nope and nope
 
Old 10-18-2004, 01:12 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.emacs file and Scheme buffers jrdioko Linux - Software 0 10-01-2005 12:22 AM
How to modify my .bashrc in general to accomodate running binaries (e.g. SCHEME)? Erik_the_Red Linux - Software 1 08-01-2005 01:23 PM
Emacs, scheme, syntax highlighting, indenting jrdioko Linux - Software 0 07-16-2005 05:13 PM
scheme in emacs dimsun Linux - Newbie 1 11-06-2004 10:00 AM
problem with running emacs as su jsfour Slackware 2 12-04-2003 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration