jed-users mailing list

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

Re: Re: [0.99-15] Some problems and questions


On Fri, 11 Oct 2002 10:12:04 +0200 wrote Martin Klaiber
<martinkl@xxxxxxxxxxxxxxxxxx>:

> (d) A similar problem as above for functions: can I locally supersede
>     a single function from a library-package? I know that slang is no
>     oo-language, but perhaps there is a way although. I want to change
>     compile() for instance, so that it always saves my files without
>     asking me before. At home I can change acompile.sl of course, but
>     not on systems where I'm not admin.


Even at home, it might be a better idea to store your changes in a separate
place, so they won't be overwritten by an update. Jed allows you to add more
library directories with the function set_jed_library_path().

The script "home-lib.sl" at    http://jedmodes.sf.net/devel
does this in a way consitent with many linux programs: it initializes a
directory ~/.jed/lib if it is present. This dir will be searched before the
standard library dir.

Now, if I want to change a mode/script, I can copy it to my ~/.jed/lib and
do the changes there. (And put all my homegrown/downloaded modes there as
well)

Guenter

PS: sorry for the late answer, I had problems reaching the list
--
Milde at ife.et.tu-dresden.de


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


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