From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Wordcode files and compinit
Date: Tue, 14 Mar 2000 11:40:51 +0100 (MET) [thread overview]
Message-ID: <200003141040.LAA07354@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Tue, 14 Mar 2000 13:30:16 +0300
Andrej Borsenkow wrote:
> I understand, for compinit to work I still need to have both source and compiled versions
> of completion functions? Some vague idea (probably, a step toward a "real" packaging) - we
> already keep quite a lot of information in wordcode files. What about adding a bit more -
> general "package name" (package id or how it can be called) and per-package specific
> information.
>
> This would allow you to select package functions you want to load, and compinit could
> extract the same info as currently from comment. Something like
>
> autoload -P completion
>
> would add all completion functions but not zftp functions. That will still allow you to
> install everything by default but select just what is needed.
>
> Of course, package name may be hierarchical ... completion/Debian :-)
Just a quick thought...
Hm. The wordcode files already store the complete pathnames used when
calling zcompile. That could be changed to prepend $PWD to names not
starting with a slash. Then we could change the patch for `autoload -w'
to make `autoload -w foo.zwc a b c' mark only a, b and c for
autoloading. And then we could make `autoload -mw foo.zwc "*/Completion/Debian/*"'
mark only those functions for autoloading.
I confess that I hadn't thought about combining wordcode files with a
package concept, although this now looks like a rather obvious idea...
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-03-14 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-14 10:40 Sven Wischnowsky [this message]
2000-03-24 11:31 ` Andrej Borsenkow
-- strict thread matches above, loose matches on Subject: below --
2000-03-24 12:05 Sven Wischnowsky
2000-03-14 10:30 Andrej Borsenkow
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=200003141040.LAA07354@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--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).