From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12451 invoked from network); 31 Jan 2000 13:02:01 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 Jan 2000 13:02:01 -0000 Received: (qmail 13355 invoked by alias); 31 Jan 2000 13:01:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9499 Received: (qmail 13346 invoked from network); 31 Jan 2000 13:01:51 -0000 Date: Mon, 31 Jan 2000 14:01:49 +0100 (MET) Message-Id: <200001311301.OAA03360@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Mon, 31 Jan 2000 11:01:33 +0000 Subject: Re: match again Bart Schaefer wrote: > } The problem is that the default tag is tested in _main_complete which > } doesn't add a context name > > This seems an important point to me. Is there a listing somewhere of > the tags which are tested in _main_complete, or is "default" the only > one? At the least the doc for the default tag should mention this. default and warnings (and the completer style is tested without tag at all). When I last cleanup up style/tag handling I mentioned that last one, I think. But, before we start modifying docs are something like this, I'd like to repeat the question: would it be ok for everyone to make completer names be preceeded by two colons? With that we could use this kind of pattern: > That means this example from the doc is wrong, does it not? > > To be able to share the same specifications one has set up for the > GNU version of the ls command one can use: > > zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} > ^^^ ... which is indeed wrong for the current state of the code. And I really, really don't like having to use patterns like `:completion*:...'. The only reason I didn't do that was because I had added the `::cmd:' thing at that time already. And: any suggestion for how to test the completer style with a tag? Use the `default' tag (that just sounds weird, somehow, but maybe this is only my problem). > BTW, I hope the intention is to put a lot more zstyle examples into the > docs before final release. Sure. Everyone is kindly invited to tell us about h(er|is) favorite style settings. Ahem. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de