Previous: , Up: Scheme   [Contents][Index]


18.9 Scheme on Emacs

On Emacs, there are a couple of major modes designed for Scheme:

Work with Different Implementations of Scheme

cmuscheme-mode

Inferior Scheme mode—Major mode for interacting with an inferior Scheme process. This is an old major mode extension of scheme-mode; adds functions for code execution directly from within Emacs buffers; this package implements interactive work with interactive Scheme interpreters. This interactive work is implemented via the comint package, included into Emacs distribution.

  • cmuscheme.el source
  • Installation put into your initialization file the following lines of code, and the package will be loaded when you call run-scheme.
    (autoload 'run-scheme "cmuscheme" "Run an inferior Scheme" t)
    (setq scheme-program-name "<scheme>")
    

    All settings for this package are available via the customization group named ‘cmuscheme’.

quack

Quack is a package for Emacs by neil-van-dyke that enhances Emacs support for Scheme. It is layered atop the standard packages cmuscheme.el, by Olin Shivers, and scheme.el, by Bill Rozas and Dave Love.

geiser

Geiser is a collection of Emacs major and minor modes that conspire with one or more Scheme interpreters to keep the Lisp Machine Spirit alive. It draws inspiration (and a bit more) from environments such as Common Lisp’s Slime, Factor’s FUEL, Squeak or Emacs itself, and does its best to make Scheme hacking inside Emacs (even more) fun.

Work with Concrete Implementations of Scheme

xscheme

Scheme Interaction Mode—major mode for interacting with an inferior MIT Scheme process; it is used to run (only) MIT Scheme under Emacs.

(require 'xscheme)
M-x run-scheme
gds
bee-mode
gambit

Previous: Scheme Libraries, Up: Scheme   [Contents][Index]