zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: pws-11: what exactly is "default" tag?
Date: Thu, 9 Dec 1999 13:53:28 +0100 (MET)	[thread overview]
Message-ID: <199912091253.NAA27871@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Thu, 9 Dec 1999 15:11:14 +0300


Andrej Borsenkow wrote:

> Getting my select/colors back :-) I was a bit confused. Doc states, that for
> default menu and list-colors I have to "set them for default tag". Now, the
> semantic of "default tag" is a bit different from "tag default" ... and playing
> with it (looking how I can set defaults for different styles):
> 
> list-colors requires you to set it for '*:default'
> menu happily accepts both '*' and '*:default'
> completer (e.g.) requires you to set it for '*'
> 
> This is realy a bit confusing ... is it possible use either '*' or '*:default'
> as default tag :-) in all places? And properly describe. what "default tag"
> actually means?

Err... `compstyle "*" list-colors ...' works, too. Of course. Because
`*' obviously matches anything `*:default' matches.

And note the difference between list-colors and menu on one side and
completer on the other. The first to are used to define behavior for
adding matches, there may be more than one value used, completer
controls the overall behavior, this can have only one value.

But then, I admit that I thought about this, too -- using a nice tag
to look up things like completer (and the _approximate styles like
max-errors, btw.). But somehow I think `default' would be a bad name
for that, just think:

  compstyle '*:default' completer ...

Sounds as if there were other `completer' styles used elsewhere,
doesn't it?

If anyone has an idea for a good name, please tell me (I once played
with `global' but somehow that didn't look really satisfying either).


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-12-09 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-09 12:53 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-09 13:12 Sven Wischnowsky
1999-12-09 12:11 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=199912091253.NAA27871@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).