* Module aliases don't work in static zsh
@ 2000-08-04 6:25 Bart Schaefer
2000-08-04 7:10 ` Andrej Borsenkow
2000-08-04 7:59 ` Andrej Borsenkow
0 siblings, 2 replies; 4+ messages in thread
From: Bart Schaefer @ 2000-08-04 6:25 UTC (permalink / raw)
To: zsh-workers
I.e. you've got to do `zmodload zsh/files' rather than `zmodload files'.
We should either toss out module aliases entirely, even from dynamic zsh,
or make them work (and work better).
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Module aliases don't work in static zsh
2000-08-04 6:25 Module aliases don't work in static zsh Bart Schaefer
@ 2000-08-04 7:10 ` Andrej Borsenkow
2000-08-04 7:59 ` Andrej Borsenkow
1 sibling, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 2000-08-04 7:10 UTC (permalink / raw)
To: Bart Schaefer, zsh-workers
>
> I.e. you've got to do `zmodload zsh/files' rather than `zmodload files'.
> We should either toss out module aliases entirely, even from dynamic zsh,
> or make them work (and work better).
>
Actually it looks like builtin module's boot/setup are never executed unless
you have some auto(builtin|condition|parameter) defined. zmodload calls
bin_zmodload_load() that calls require_module() that checks if module is on
linked in list and exits. But actual initialisation takes place in
load_module() that is not called in this case. And it is the function that is
called in every other place where module is needed.
-andrej
P.S. I think that we shoud completely drop current specialcased aliases.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Module aliases don't work in static zsh
2000-08-04 6:25 Module aliases don't work in static zsh Bart Schaefer
2000-08-04 7:10 ` Andrej Borsenkow
@ 2000-08-04 7:59 ` Andrej Borsenkow
1 sibling, 0 replies; 4+ messages in thread
From: Andrej Borsenkow @ 2000-08-04 7:59 UTC (permalink / raw)
To: zsh-workers
>
> I.e. you've got to do `zmodload zsh/files' rather than `zmodload files'.
Even with this fixed (hopefully) with Sven's patch it is still pretty
confusing. Loading "files" loads "zsh/files" as well, but unloading "files"
leaves "zsh/files" behind and unloading "zsh/files" is impossible (because
"files" depends on it).
-andrej
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Module aliases don't work in static zsh
@ 2000-08-04 7:02 Sven Wischnowsky
0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 2000-08-04 7:02 UTC (permalink / raw)
To: zsh-workers
Bart Schaefer wrote:
> I.e. you've got to do `zmodload zsh/files' rather than `zmodload files'.
> We should either toss out module aliases entirely, even from dynamic zsh,
> or make them work (and work better).
Personally I'd be in favour of removing them. At least before 4.0.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-08-04 8:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-04 6:25 Module aliases don't work in static zsh Bart Schaefer
2000-08-04 7:10 ` Andrej Borsenkow
2000-08-04 7:59 ` Andrej Borsenkow
2000-08-04 7:02 Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).