Resent-Date: Wed, 22 Feb 1995 16:27:10 -0500 (EST)
Resent-From: stk_at_kaolin.unice.fr
X-Mailing-List: <stk_at_kaolin.unice.fr> archive/latest/444
X-Loop: stk_at_kaolin.unice.fr
Precedence: list
Resent-Sender: stk-request_at_kaolin.unice.fr
It turns out that using the following:
(autoload 'run-scheme "cmuscheme" "Run STk in an emacs buffer." t)
(autoload 'scheme-mode
"cmuscheme"
"Mode for Scheme programming."
t)
(setq scheme-program-name "stk")
does not work properly in xemacs. STk starts up and you can send
commands to the interpreter but standard out is not flushed properly.
No output occurs until you kill the interpreter.
When I do this under emacs 19, I get an "inferior scheme" mode window
which simply runs stk in a shell... which gives me command line editing
but isn't as nice as the interactive mode which lets me send commands
to the interpeter, etc...
Anybody have the final word on doing this -- unfortunately, I don't
know much about customizing emacs and some advice would really
help.
Some of the Scheme implementations (and I assume STk too - I have not
tried) require some hacking in order to work as an inferior precess
via comint or similar under Emacs.
I don't know whether it applies, but here is a patch for Scheme->C
that is distributed with ILISP. Hope it helps.
Marco A.
============================================================================
>From _at_yonge.cs.toronto.edu:qobi_at_cs.toronto.edu Tue Nov 1 18:50:53 1994
From: Jeffrey Mark Siskind <qobi_at_cs.toronto.edu>
To: ebg_at_hip.atr.co.jp
Cc: ilisp_at_lehman.com
In-Reply-To: <9411012332.AA23484_at_hoshi> (message from Ed Gamble on Tue, 1 Nov 1994 18:32:03 -0500)
Subject: Re: Scheme dialect init-files
Reply-To: Qobi_at_cs.toronto.edu
Date: Tue, 1 Nov 1994 18:47:37 -0500
To get Scheme->C to work under ILisp I had to create my own executable with
the following C foreign function:
#include <stdio.h>
void nobuff(){setbuf(stdout, (char*)0);}
(define-c-external (nobuff) void "nobuff")
(nobuff)
I had to do a similar thing to get SCM to work in an Epsilon process buffer
under DOS.
This may or may not have to do with your problem.
Jeff (home page
http://www.cdf.toronto.edu/DCS/Personal/Siskind.html)
Received on Thu Feb 23 1995 - 16:18:39 CET