From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 368 invoked by alias); 22 Jul 2010 16:31:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15197 Received: (qmail 16457 invoked from network); 22 Jul 2010 16:31:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) MIME-Version: 1.0 In-Reply-To: <20100722005557.GA16523@urvas> References: <20100722005557.GA16523@urvas> Date: Thu, 22 Jul 2010 09:25:02 -0700 Message-ID: Subject: Re: completion: matcher(-list) and tags From: Bart Schaefer To: Zsh Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jul 21, 2010 at 5:55 PM, Rogut=C4=97s Sparnuotos 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 wit= h > 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.