zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: match again
Date: Mon, 31 Jan 2000 14:01:49 +0100 (MET)	[thread overview]
Message-ID: <200001311301.OAA03360@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Mon, 31 Jan 2000 11:01:33 +0000


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


             reply	other threads:[~2000-01-31 13:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-31 13:01 Sven Wischnowsky [this message]
2000-02-01 18:45 ` Peter Stephenson
  -- strict thread matches above, loose matches on Subject: below --
2000-02-02  9:21 Sven Wischnowsky
2000-01-31  9:13 Sven Wischnowsky
2000-01-31  9:06 Sven Wischnowsky
2000-01-31 11:01 ` Bart Schaefer
2000-01-28 10:05 Sven Wischnowsky
2000-01-28 16:47 ` Alexandre Duret-Lutz
2000-01-30  1:27   ` Bart Schaefer
2000-02-01 10:48     ` Alexandre Duret-Lutz
2000-01-27 16:31 Andrej Borsenkow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200001311301.OAA03360@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).