Next: Full Face, Previous: Terse Command Face, Up: Faces
Using THUD in an Emacs buffer is possible with the emacs-face.
This requires cooperation from Emacs by loading inf-thud.el and
typing M-x inf-thud. The buffer is placed into inferior-thud
mode, described in this section.
To avoid horrible confusion, we distinguish between Elisp and and Scheme worlds by explicitly marking elisp commands, procedures and variables as "Elisp".
Begin emacs interaction repl. Enter EOF to quit. [At this time, we use a simple repl, but this may grow hair in the future.]
See Command-line processing, for info on how to specify
emacs-face.
Start a THUD process in buffer
*inf-thud*and go into Inferior THUD mode. A prefix arg allows editing of the THUD command line before invocation. THe default command line isthud --face emacs.If "–face emacs" is recognized in the command line, Emacs actually goes into a submode that makes use of single character commands. The mode line shows "THUD:Emacs" when this occurs.
If "–face emacs" is not recognized in the command line, Emacs goes into a standard comint-based submode where you generally type stuff into the buffer followed by
RETto send the input to THUD. The mode line shows "THUD:Comint" in this case.
The rest of this section documents the "THUD:Emacs" submode. See Shell Mode, for more info on the standard comint mode.
In THUD:Emacs submode, several commands are available, most of which are bound to mnemonic key sequences.
inf-thud-send-string.
shell-command.
inf-thud-send-string (with its attendant
buffer-modifying behavior).
execute-user-script.
prepare-to-simulate).
n.
q.
eval-print on it.
deposit on it.
: i.
: h.
inf-thud-send-string.
: s e. This is useful for "set"
terse commands.
: s h. This is useful for
"show" terse commands.