slsh's require breaks jed-extra

G. Milde milde at users.sourceforge.net
Thu Jun 7 15:35:27 UTC 2007


On  7.06.07, Jörg Sommer wrote:
> Hi John, hi Debian developers,

> in version 0.99.19-82, the provide and require functions where removed
> from site.sl and the functions from slsh where imported. But they have
> different argument lists. While require from jed took 2 arguments with
> a file name as second argument, the function from slsh takes three
> arguments where the second is the namespace.

> This breakes at least /etc/jed.d/50jed-extra.sl. The first problem

It breaks about 23 modes from jedmodes.sf.net.

Even if we do fix these, it is not backwards compatible.

I would prefer an optional "namespace" argument over the need to fix
all these 23 modes with a "compatibility switch".

The problem is the order of arguments:

  require(feature, [[filename], namespace]]);
  
or 

  require(feature, [[namespace], filename]]);


Günter



More information about the Pkg-jed-devel mailing list