Hemlock-Commands-CM

This code is part of a collection of Context-Menu tools.  For general information see: ccl/contrib/foy/context-menu/ReadMe.  You must (require :context-menu-cm) to use this, and to get full functionality, you need to (require :list-definitions-cm) before you load this tool.

Features:
Hemlock-Commands-CM adds a contextual popup menu to Hemlock:
    Right-Click -->  filters Hemlock commands based on keywords.
    Command-Right-Click -->  lists essential Hemlock commands.

Selecting an entry from the keyword list will open a documentation dialog.  The documentation dialog has a "Source" button which will pull up the source code for the command.

Selecting an entry from the essential commands list will execute that command.  This list is intended to help new users:  Hemlock's Greatest Hits.  

HyperSpec: Hemlock-Commands requires the HyperSpec.  See the Context-Menus/ReadMe.

Setup:
cd  ccl/contrib/
svn update

That will pull in new versions of all contribs, including Context-Menu, Hemlock-Commands-CM, CL-Documentation-CM and List-Definitions-CM.

In the Listener or in ~/ccl-init.lisp execute these forms:

;;; Use your own path here, if you are using a local copy of the HyperSpec:
(setq gui::*hyperspec-root-url* (gui::pathname-to-url "/Lisp/hyperspec-7-0/"))

(require :context-menu-cm)
(require :cl-documentation-cm)
(require :list-definitions-cm)
(require :hemlock-commands-cm)
(cmenu:set-default-tool "List-Definitions-CM")

Hemlock-Commands and the other tools are also available at:   www.clairvaux.org/downloads/
But updating the contribs directory and then requiring what you need works nicely.

Note:  The documentation dialog includes a graphic!  It's off by default, but if you would like some eye candy,  change the value of *graphic-p* in hemlock-documentation-dialog.lisp.

Shareware:
If you decide to use Hemlock-Commands-CM on a regular basis, please make a $5 contribution to either the Save Darfur Coalition or the World Wildlife Fund.  You can do this online.