jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: slang load path


On Sat, 26 Feb 2005 20:16:35 +0000 (UTC), Joerg Sommer <joerg@xxxxxxxxxxxx> said:

> iff (ns_name == NULL)! This is the problem. 

And otherwise it calls SLns_Load_File_Hook.

Actually the SLang_Load_File_Hook is not defined in JED when compiled
with slang 2:

#if SLANG_VERSION < 10409
   SLang_Load_File_Hook = jed_load_file;
#else
   SLns_Load_File_Hook = jed_ns_load_file;
#endif

> I load the file into a namespace, which jed doesn't support. So I fall
> back to the SLns_load_file(), which uses slang_load_path.

Autoloading a function in a namespace works fine here, so does
evalfile(file,namespace).  And get_slang_load_path still returns "".

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]