Function: scheme-mode

scheme-mode is an autoloaded, interactive and byte-compiled function defined in scheme.el.gz.

Signature

(scheme-mode)

Documentation

Major mode for editing Scheme code.

Editing commands are similar to those of lisp-mode.

In addition, 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. The names of commands that interact with the Scheme process start with "xscheme-" if you use the MIT Scheme-specific xscheme package; for more information see the documentation for xscheme-interaction-mode. Use M-x run-scheme (run-scheme) to start an inferior Scheme using the more general cmuscheme package.

Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments.
C-M-q indent-sexp
C-M-q prog-indent-sexp
C-M-x scheme-send-definition
C-M-z xscheme-send-region
C-c C-b xscheme-send-breakpoint-interrupt
C-c C-c scheme-compile-definition-and-go
C-c C-e scheme-send-definition
C-c C-k scheme-compile-file
C-c C-l scheme-load-file
C-c C-r scheme-send-region
C-c C-s xscheme-select-process-buffer
C-c C-t scheme-trace-procedure
C-c C-u xscheme-send-control-u-interrupt
C-c C-x scheme-expand-current-form
C-c C-z switch-to-scheme
C-c M-c scheme-compile-definition
C-c M-e scheme-send-definition-and-go
C-c M-r scheme-send-region-and-go
C-x C-e scheme-send-last-sexp
DEL backward-delete-char-untabify
M-RET xscheme-send-previous-expression
M-o xscheme-send-buffer
M-z xscheme-send-definition

In addition to any hooks its parent mode prog-mode might have run, this mode runs the hook scheme-mode-hook, as the final or penultimate step during initialization.

Probably introduced at or before Emacs version 19.29.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/scheme.el.gz
;;;###autoload
(define-derived-mode scheme-mode prog-mode "Scheme"
  "Major mode for editing Scheme code.
Editing commands are similar to those of `lisp-mode'.

In addition, 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.  The names of commands that interact
with the Scheme process start with \"xscheme-\" if you use the MIT
Scheme-specific `xscheme' package; for more information see the
documentation for `xscheme-interaction-mode'.  Use \\[run-scheme] to
start an inferior Scheme using the more general `cmuscheme' package.

Commands:
Delete converts tabs to spaces as it moves back.
Blank lines separate paragraphs.  Semicolons start comments.
\\{scheme-mode-map}"
  (scheme-mode-variables))