Next: , Previous: , Up: Run an External Lisp or Scheme Session   [Index]


F.3.2 Inferior Scheme Session

The facilities for editing Scheme code, and for sending expressions to a Scheme subprocess, are very similar. If an inferior Scheme process is running, some additional commands will be defined, for evaluating expressions and controlling the interpreter, and the state of the process will be displayed in the mode line of all Scheme buffers.

M-x scheme-mode

Scheme source files are edited in Scheme mode.

M-x run-scheme

Initiate a Scheme session, or run an inferior Scheme process. The buffer for interacting with Scheme is named ‘*scheme*’ using the =cmuscheme’ package.

scheme-send-definition

C-M-x’, ‘C-c C-e

Send the current definition to the inferior Scheme process.

scheme-program-name

Program invoked by the ‘run-scheme’ command. It’s current value is "scheme".

If the file ‘~/.emacs_SCHEMENAME’ or ‘~/.emacs.d/init_SCHEMENAME.scm’ exists, it is given as initial input.

scheme-mode-hook