[Openmcl-devel] how to show doc strings?
Gary Byers
gb at clozure.com
Tue Oct 30 13:14:13 PDT 2007
If I understand correctly (I don't use SLIME), the problem is that
C-c C-f just calls DESCRIBE on a function, and OpenMCL's DESCRIBE
doesn't show a function's doc string if it has one.
A (crude) change to do that should be in CVS in a few minutes.
(One way in which it's crude is that it doesn't handle doc strings
that contain newlines very sanely, but that may be better than
not seeing the doc string at all.)
On Tue, 30 Oct 2007, Eugene Ossintsev wrote:
> Hi,
>
> Could you help me figure out how to configure OpenMCL + SLIME to
> display the doc strings
> with (slime-describe-function) in Emacs? For CLisp and SBCL they are
> displayed by default if I press C-c C-f (slime-describe-function),
> for OpenMCL -- not :-/
>
> OpenMCL 1.1-r7534 (DarwinPPC32)
> Either the stable SLIME 2.0 or the latest from CVS, it doesn't matter
> in this case
>
> OpenMCL is built from the sources without any changes in
> configuration parameters. SLIME is put for Emacs unchanged, too.
>
> A simple example to be clear:
>
> ---------------------------
> (defun foo (a b)
> "A doc string to display in Emacs by hitting C-c C-f"
> (+ a b))
>
> (foo 1 2)
> ---------------------------
>
>
> Thank you in advance!
>
> - Eugene
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>
More information about the Openmcl-devel
mailing list