Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Completion/User/_cvs again.



Tanaka Akira wrote:

> In article <990907210627.ZM8775@xxxxxxxxxxxxxxxxxxxxxxx>,
>   "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> 
> > Aren't we already requiring the parameters modlue for some of the other
> > completion stuff?  Would this be faster/cleaner/clearer as
> > 
> > 	if ! (( $+functions[_cvs_command] )); then
> 
> I didn't know parameter module. Hm, it's good.  But, I think the
> module is not loaded by the completion stuff.
> 
> ...
> 
> Although some functions examine whether parameter module is exist,
> they doesn't try to load the module.

Right. Should we:

1) add a (convenient) way to find out if a module will be autoloaded
   and change such places to test that for `parameter' and then force
   its loading, or
2) make parameter auto-autoloaded and just make it be loaded in
   `_main_complete' if it isn't loaded yet

???

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author