Hemlock is an extensible Emacs-like text editor embedded in CMUCL. It follows the tradition of the Lisp Machine editor ZWEI and the ITS/TOPS-20 implementation of Emacs. Hemlock is able to display to a terminal, or use CLX for X11.
- the Hemlock User Manual (176kB gzipped A4 Postscript), or in gzipped letter Postscript.
- the command implementor's manual, containing information for people who wish to extend Hemlock (120kB gzipped Postscript).
The Scribe sources for these documents are distributed with the CMUCL
source code, in the
Experimenting with Hemlock
To start experimenting with Hemlock, load the CLX and Hemlock
subsystems, then type
(ed). This should open an X11
window for the editor (actually two windows; the smaller window
contains the minibuffer).
* (require :clx) * (require :hemlock) * (ed)
The keybindings in the editor are similar to those in GNU Emacs: for
M-x enters the minibuffer, and
C-f opens a file for editing (enter the filename in the
minibuffer). Completion in the minibuffer works with #\Space, not
with #\Tab. Command names are of the form
find-file. Dired mode is available with
M-x Dired. To quit Hemlock and return to the listener,
Note that the tty code in Hemlock requires termcap (on Debian
systems, you can install the
For further notes on using Hemlock, see CLiki:CloserLookAtHemlock.