The layout that I have used for all the Lisp programs included with Jade is as follows, obviously this isn't ideal but it seems ok.
require forms needed followed by a provide form for
this module. The require forms should be before the
provide in case the required modules aren't available.
defvar then initialised with
the bind-keys function.
For example,
(defvar debug-buffer (make-buffer "*debugger*") "Buffer to use for the Lisp debugger.") (set-buffer-special debug-buffer t) (add-buffer debug-buffer) (defvar debug-ctrl-c-keymap (make-keylist) "Keymap for debugger's ctrl-c prefix.") (bind-keys debug-ctrl-c-keymap "Ctrl-s" 'debug-step ...
Go to the first, previous, next, last section, table of contents.