Bug#446271: jed-extra: use jed_append_doc_file

Jörg Sommer joerg at alea.gnuu.de
Sat Oct 13 15:45:39 UTC 2007


Rafael Laboissiere schrieb am Sat 13. Oct, 15:27 (+0200):
> * Jörg Sommer <joerg at alea.gnuu.de> [2007-10-12 16:41]:
> 
> > Rafael Laboissiere schrieb am Fri 12. Oct, 14:33 (+0200):
> > > It does work for me here with jed 0.99.18+dfsg.1-9 and jed-extra 2.4-1.  For
> > > instance, if I type (emacs emulation) <C-h> <C-f> make_ini <enter>,
> > 
> > No, I'm talking about get_doc_string_from_file() not describe_function().
> > Try in the *scratch* buffer:
> > 
> > insert(string( get_doc_string_from_file("make_ini") ));
> 
> The command above always inserts "NULL" in the buffer, regardless of the
> version of jed (0.9918 or 0.99.19~pre117) nd regardless of the function that
> I give in the argument (I tried with "describe_funtion", for instance).
> 
> Am I doing something wrong?  What does it insert for you?

Try
insert(string( get_doc_string_from_file("message") )); % in .18
insert(string( get_doc_string_from_file("get_color") )); % in .18
insert(string( get_doc_string_from_file("get_color") )); % in .19~pre117

The Jed functions from jed/doc/hlp do not work in .18 but in .19~pre117.
The SLang functions do work in both versions. The jed-extra function do
work in no version.

Or you can use this:
  insert(strjoin(get_doc_files(), "\n"));
to see which files are registered.

Bye, Jörg.
-- 
Die am Lautesten reden, haben stets am wenigsten zu sagen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20071013/c4b1fb3d/attachment.pgp 


More information about the Pkg-jed-devel mailing list