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

Re: completion: matcher(-list) and tags

On Wed, Jul 21, 2010 at 5:55 PM, RogutÄs Sparnuotos
<rogutes@xxxxxxxxxxxxxx> wrote:
> Looking through zshcompsys(1), I find a paragraph under the tag-order
> explanation, saying that matcher-list "is tested very early in the
> completion system and hence can't be set for single commands nor for more
> specific contexts" (but if so, shouldn't such matcher-list usage exit with
> an error?).

"zstyle" is a generic command similar to "typeset" -- it has no
understanding of the semantics or internal structure of its arguments;
even the use of colons to separate components is entirely a convention
invented for the completion system and makes no difference to zstyle.
So there really is no point prior to lookup where any particular style
can be analyzed for reporting an error, and if you've made an error in
the style context itself it'll never be looked up.

Perhaps more later on the rest of your questions, I'm out of time to
investigate just now.

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