gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cldoc.el 1.3 --- show Common Lisp function arglist in echo area


From: Yuji Minejima
Subject: cldoc.el 1.3 --- show Common Lisp function arglist in echo area
Date: Thu, 16 Sep 2004 15:38:00 +0900
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

Hi, all.

This is an eldoc.el clone adapted for Common Lisp which works on Emacs
editor. 

cldoc.el automatically displays the function arguments and the macro
syntax rule of the one which you are currently editing.  For example, when
you enter `(getf <-!>', the following line should appear in the Emacs's
echo area, "getf: (PLIST INDICATOR &OPTIONAL DEFAULT) => VALUE".


This package is still at a pre alpha stage.  What I've done so far is just
writing an operator signature table and changing a display function. 
Currently almost all the code is from eldocl.el. But I think it's already
usefull.

Write the following code snippet in your .emacs file.
(autoload 'turn-on-cldoc-mode "cldoc" nil t)
(add-hook 'lisp-mode-hook 'turn-on-cldoc-mode)
(add-hook 'ilisp-mode-hook 'turn-on-cldoc-mode)
(add-hook 'slime-repl-mode-hook 'turn-on-cldoc-mode)
Slime users might want to change a binding of SPACE key.

The current signature table contains entries of CLHS dictionary pages of
conses, sequences, arrays, strings, types and classes, data and control
flow, and iteration.

I'll notify this thread of a new version release.
Any comments, ideas and patches are welcome.

You can find the latest cldoc.el at
http://homepage1.nifty.com/bmonkey/emacs/elisp/cldoc.el

Yuji.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]