Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Wordcode files and compinit
- X-seq: zsh-workers 10224
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: Wordcode files and compinit
- Date: Fri, 24 Mar 2000 14:31:23 +0300
- Importance: Normal
- In-reply-to: <200003141040.LAA07354@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> 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.
>
This won't help in case of completion. We need the information from
comments and comments are lost when compiling zsh code. With current way
completion is initialized, functions must be present in source form. I
am not happy about it. Keeping two form of the same function always
increases the possibility of two getting out of sync.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author