Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion issues
- X-seq: zsh-workers 10528
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Completion issues
- Date: Thu, 6 Apr 2000 09:31:16 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Wed, 05 Apr 2000 19:30:00 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> > > Another thing: I couldn't get matcher-list to work for a labelled
> > > completer, e.g. _complete:-extended.
>
> This seems to work this time. Don't what I did wrong. So what's the
> difference between matcher and matcher-list now? The latter is looked up
> once for a completer (but again if we have a labelled completer), but the
> latter is looked up every single time we add a match?
Two main differences:
1) matcher is tested for the most specific contexts possible,
including the tags, matcher-list, as you said, only for the
completer
2) matcher-list uses its values on after another (there is a loop),
matcher uses all its values in one go
But, yes, with completer-labelling one could replace matcher-list with
a couple of matcher styles settings. Exactly because of that `couple of'
I kept matcher-list -- it's so much more convenient.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author