This class defines a mode with a keymap. The keymap is checked for handle-key-event and handle-mouse-event methods. Derive a new class from this mode to create a mode that can be described in terms of a keymap.
The keymap is created and passed to
See also Text Modes.