From: ··········@my-deja.com
Subject: Lisp and scheme on Linux/BSD/Emacs
Date: 
Message-ID: <865ci1$qjb$1@nnrp1.deja.com>
I would like to know what resources are available on linux for running
the lisp and its other dialects.

Emacs has a number of commands which are not available but are
documented, such as:


run-scheme Command: Run an inferior Scheme process, input and output
via buffer *scheme*.  scheme-mode Command: Major mode for editing
Scheme code.


How do we get these in our system to run?

So I want one simple example of scheme commands and compilation in
emacs.  The Redhat version 5.2 has a man page on scheme, but no
executable.

For example the scheme command

(define size 5)

does not run in emacs.

When I type run-scheme, it says in the minibuffer:

Searching for program: no such file or directory, scheme

Where do I get a complete suite of such software, ie which unix
distribution has it?  Is it BSD? Is it RH6.2? Is it the Debian
distribution?

Which of these will do the job?

Are there work arounds around scheme for the time being?
Can one do a one-to-one mapping from lisp/elisp to scheme?

Thanks for your help


Sent via Deja.com http://www.deja.com/
Before you buy.
From: Oleg Goldshmidt
Subject: Re: Lisp and scheme on Linux/BSD/Emacs
Date: 
Message-ID: <x6r9fdgngv.fsf@NOSPAM.bfr.co.il>
··········@my-deja.com writes:

> When I type run-scheme, it says in the minibuffer:
> 
> Searching for program: no such file or directory, scheme

I don't think it's an emacs problem. Emacs needs to know how to run
scheme - it does not have scheme embedded, and it does not make
assumptions. So, assuming you have scheme on your system (you do,
don't you?), you need to set a variable like scheme-program-name. Do I
need to tell you how to set a variable? You guessed right, something
like

(setq scheme-program-name "guile")

will do ;-). Substitute the scheme you have installed for guile,
and use the full path to the executable if you are not sure it is
always in your PATH.

I don't think Red Hat Linux comes with scheme by default (maybe
guile?). I am not sure about other Linux distributions.

It would be reasonable to post this to comp.emacs, I suppose.

-- 
Oleg Goldshmidt | BLOOMBERG L.P. (BFM) | ····@bfr.co.il
"... We work by wit, and not by witchcraft;
 And wit depends on dilatory time." - W. Shakespeare.