tcl-mode

tcl-mode is an interactive autoloaded compiled Lisp function in `tcl.el'.


(tcl-mode)

Parent mode: `prog-mode'.

Major mode for editing Tcl code.
Expression and list commands understand all Tcl brackets.
Tab indents for Tcl code.
Paragraphs are separated by blank lines only.
Delete converts tabs to spaces as it moves back.

Variables controlling indentation style:
`tcl-indent-level'
Indentation of Tcl statements within surrounding block.
`tcl-continued-indent-level'
Indentation of continuation line relative to first line of command.

Variables controlling user interaction with mode (see variable
documentation for details):
`tcl-tab-always-indent'
Controls action of TAB key.
`tcl-auto-newline'
Non-nil means automatically newline before and after braces, brackets,
and semicolons inserted in Tcl code.
`tcl-use-smart-word-finder'
If not nil, use a smarter, Tcl-specific way to find the current
word when looking up help on a Tcl command.

Turning on Tcl mode runs `tcl-mode-hook'. Read the documentation for
`tcl-mode-hook' to see what kinds of interesting hook functions
already exist.

key binding
--- -------

C-c Prefix Command
TAB tcl-indent-command
ESC Prefix Command
# tcl-electric-hash
; tcl-electric-char
[ tcl-electric-char
] tcl-electric-char
{ tcl-electric-char
} tcl-electric-brace
DEL backward-delete-char-untabify

C-c C-f tcl-load-file
C-c TAB tcl-help-on-word
C-c C-s switch-to-tcl
C-c C-t inferior-tcl
C-c C-v tcl-eval-defun
C-c C-x tcl-eval-region

C-M-q tcl-indent-exp
C-M-x tcl-eval-defun