Re: Emacs STk interactive (Followup)

From: Marco Antoniotti <marcoxa_at_MOSAIC.CS.NYU.EDU>
Date: Thu, 23 Feb 95 10:17:39 EST

   Resent-Date: Wed, 22 Feb 1995 16:27:10 -0500 (EST)
   X-Mailing-List: <> archive/latest/444
   Precedence: list

   It turns out that using the following:

   (autoload 'run-scheme "cmuscheme" "Run STk in an emacs buffer." t)

   (autoload 'scheme-mode
     "Mode for Scheme programming."

   (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

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 Tue Nov 1 18:50:53 1994
From: Jeffrey Mark Siskind <>
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
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")

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
Received on Thu Feb 23 1995 - 16:18:39 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST