zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Bart Schaefer" <schaefer@candle.brasslantern.com>,
	<zsh-workers@sunsite.auc.dk>
Subject: RE: Module aliases don't work in static zsh
Date: Fri, 4 Aug 2000 11:10:59 +0400	[thread overview]
Message-ID: <000001bffde3$241ff1a0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <1000804062515.ZM13220@candle.brasslantern.com>

>
> 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.


  reply	other threads:[~2000-08-04  7:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-04  6:25 Bart Schaefer
2000-08-04  7:10 ` Andrej Borsenkow [this message]
2000-08-04  7:59 ` Andrej Borsenkow
2000-08-04  7:02 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001bffde3$241ff1a0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).