Function: blackbox-mode
blackbox-mode is an interactive and byte-compiled function defined in
blackbox.el.gz.
Signature
(blackbox-mode)
Documentation
Major mode for playing blackbox.
To learn how to play blackbox, see the documentation for function blackbox.
The usual mnemonic keys move the cursor around the box.
C-a (bb-bol) and C-e (bb-eol) move to the beginning and end of line, respectively.
SPC (bb-romp) -- send in a ray from point, or toggle a ball at point
RET (bb-done) -- end game and get score
In addition to any hooks its parent mode special-mode might have run,
this mode runs the hook blackbox-mode-hook, as the final or
penultimate step during initialization.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/blackbox.el.gz
;; Blackbox mode is suitable only for specially formatted data.
(define-derived-mode blackbox-mode special-mode "Blackbox"
"Major mode for playing blackbox.
To learn how to play blackbox, see the documentation for function `blackbox'.
The usual mnemonic keys move the cursor around the box.
\\<blackbox-mode-map>\\[bb-bol] and \\[bb-eol] move to the beginning and end of line, respectively.
\\[bb-romp] -- send in a ray from point, or toggle a ball at point
\\[bb-done] -- end game and get score"
(setq truncate-lines t))