[Ecls-list] Line Number of errors ?
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sat Oct 4 19:34:19 UTC 2008
On Fri, Sep 26, 2008 at 11:00 PM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> Redefining *REGISTER-WITH-PDE-HOOK* via Slime won't unfortunately do
> much, as
> a) it's not available when ECL itself is compiled. So there's much
> information lost already.
> b) it's not even necessarily available when the user builds other
> libraries.
I am not 100% sure what I can impose on the user. Writing to a
separate file is ok for ECL because it knows where it is going to
place things, but I do not think ordinary lisp users are going to
enjoy having documentation files around.
I have solved "a)" by placing my own registration handler in help.lsp
Have a look at it: it does the same as expand-set-documentation, but
includes variables, constants and other objects, and it also stores
the argument list in the documentation. Furthermore, it now includes
all ECL functions, also those which could be considered internal.
As a solution for "b)" I am pondering the addition of a C string that
keeps the documentation of all functions, variables and other objects
in the file. It requires a bit more work, but it would be more space
efficient and require no other files. Would you like to work on this?
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list