zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>,
	zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: Removal of autoloads via module name only
Date: Mon, 25 Jun 2007 17:52:12 -0700	[thread overview]
Message-ID: <070625175212.ZM21490@torch.brasslantern.com> (raw)
In-Reply-To: <200706252018.l5PKIDEw010946@pws-pc.ntlworld.com>

On Jun 25,  9:18pm, Peter Stephenson wrote:
}
} Is anyone going to be concerned if I remove this ability, so that
} you would need to give both the module and the builtin etc. to be
} autoloaded explicitly? I stronly suspect the answer is "no", in
} which case I will remove it in the next round of feature autoloading
} changes.

Actually, use this all the time.  Or more precisely, I use the thing
you mentioned in your next email, all the time:

} alias -A example=zsh/example
} zmodload -ab example

I have a rather complicated set of startup scripts, one of which has
the job of discovering that I'm running an uninstalled zsh binary out
of the compilation build tree and therefore frobbing the module path
(and installing all sorts of module aliases) so that everything "just
works" loading the modules out of Src/Builtins and Src/Modules instead
of by using their regular namespace paths.

This makes extensive use of exactly the aliasing trick above, and I'd be
rather disappointed to have to try to figure out how to rewrite it all
so that it still works.


  parent reply	other threads:[~2007-06-26  0:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 20:18 Peter Stephenson
2007-06-25 20:58 ` Peter Stephenson
2007-06-26  0:52 ` Bart Schaefer [this message]
2007-06-26  9:06   ` Peter Stephenson

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=070625175212.ZM21490@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@sunsite.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).