Using Emacs and CMU Scheme

CMU Scheme package package permits to run the interpreter in an Emacs window. Once the package is loaded, you can send text to the inferior interpreter from other buffers containing Scheme source. The CMU Scheme package is distributed with Emacs (both FSF-Emacs and Xemacs) and you should have it if you are running this editor.

To use the CMU Scheme package with , place the following lines in your .emacs startup file.

;; Use cmu-scheme rather than xscheme which is launched by default
;; whence running 'run-scheme' (xscheme is wired with CScheme)
(autoload 'run-scheme "cmuscheme" "Run an inferior Scheme" t)
(setq scheme-program-name "stk")
(setq inferior-scheme-mode-hook '(lambda() (split-window)))

After having entered those lines in your .emacs file, you can simply run the interpreter by typing

M-x run-scheme

Read the CMU Scheme documentation (or use the describe-mode Elisp command) for a complete description of this package.