Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] caml-info-look
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Didier Remy <remy@m...>
Subject: Re: [Caml-list] caml-info-look writes:

> Hello,
> I wrote a small Emacs-lisp library for automatically looking up
> documentation in OCaml Info files. It's to be used with Info files
> generated by OCamldoc (using the texinfo generator).
> Calling `caml-info-lookup-id' in a caml-mode buffer on an identifier
> (say, String.length) will open an Info window and display the relevant
> Info node, with the type and commentary that goes with the identifier.
> I don't write much elisp so the code looks a bit hideous but it seems
> to work (at least for my Emacs 20.7, I don't know for XEmacs).

There is already module caml-help.el (since 3.04) in the emacs distrib part
of caml.el that could already do that. Have you tried it?

It can be parameterized to look for documentation in either standard or
ocamldoc info stylles, or just in the stdlib, which is often the most
convenient. It does completion on (toplevel) Module names and identifiers 
bound in these modules. 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: