Function: gametree-mode

gametree-mode is an interactive and byte-compiled function defined in gametree.el.gz.

Signature

(gametree-mode)

Documentation

Major mode for managing game analysis trees.

Useful to postal and email chess (and, it is hoped, also checkers, go, shogi, etc.) players, it is a slightly modified version of Outline mode.

C-c ; gametree-insert-score
C-c C-j gametree-break-line-here
C-c C-r / gametree-layout-to-register
C-c C-r SPC gametree-layout-to-register
C-c C-r j gametree-apply-register-layout
C-c C-v gametree-insert-new-leaf
C-c C-y gametree-save-and-hack-layout
C-c RET gametree-merge-line
C-c ^ gametree-compute-and-insert-score
M-<down-mouse-2> M-<mouse-2> gametree-mouse-break-line-here
S-<down-mouse-1> S-<mouse-1> gametree-mouse-show-children-and-entry
S-<down-mouse-2> S-<mouse-2> gametree-mouse-show-subtree
S-<down-mouse-3> S-<mouse-3> gametree-mouse-hide-subtree

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

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/play/gametree.el.gz
(define-derived-mode gametree-mode outline-mode "GameTree"
  "Major mode for managing game analysis trees.
Useful to postal and email chess (and, it is hoped, also checkers, go,
shogi, etc.) players, it is a slightly modified version of Outline mode.

\\{gametree-mode-map}"
  (auto-fill-mode -1)
  (add-hook 'write-contents-functions 'gametree-save-and-hack-layout nil t))