Bug#482490: wrong error msg when file not found in jed library dir

Jörg Sommer joerg at alea.gnuu.de
Sun May 25 15:30:41 UTC 2008


Hallo G.,

G. Milde schrieb am Fri 23. May, 09:21 (+0200):
> Package: jed
> Version: 1:0.99.18+dfsg.1-10
> Severity: minor
> 
> When Jed is told to evaluate a file (evalfile(), autoload() or require()) it
> searches it in the "jed library path" (Jed 0.99.19 will look in the "slang
> search path).
> 
> If the file is not found in the search path, the error message contains only
> the last directory of the search path, e.g.:
> 
> S-Lang> message(get_jed_library_path);
>   
>  /usr/share/jed/lib,usr/share/jed/jed-extra/utils/,/usr/share/jed/jed-extra/
> 
> S-Lang> require("pcre");
> 
>  Unable to load /usr/share/jed/jed-extra/pcre.slc

This is a ‘bug’ in S‐Lang. We should ask John to fix it in S‐Lang. And we
should reassign the bug to libslang.

> This message can lead non-experts to the wrong conclusions,

Yes. I by myself find this message confusing. I think it should be better
‘File pcre.sl not found in load path’ or somthing like that.

Bye, Jörg.
-- 
“Hey, dad, you see how this man can twist his fingers? Amazing, isn't
it?” “No, son, not really. He's been using Emacs for ten years…”
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20080525/f9f3bb76/attachment.pgp 


More information about the Pkg-jed-devel mailing list