zsh-workers
 help / color / mirror / code / Atom feed
* Re: list-colors does not work RE: 3.1.6-dev-18
@ 2000-02-14 10:56 Sven Wischnowsky
  2000-02-14 11:16 ` Multiple styles databases " Andrej Borsenkow
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Wischnowsky @ 2000-02-14 10:56 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> list-colors completely stopped to work after installing dev-18. I now have
> 
> zstyle ':completion:*' menu 'select=0'
> zstyle ':completion:*:default' list-colors ''
> 
> Menu works, but list-colors not. I tried all sort of things (:completeion:*,
> :completion:*:*:*:*:*) without success.
> 
> Surprisingly enough, menu select works :-)

That's a result of the default style for list-colors, which has a far
more specific pattern. See the discussion started by Peter about
default settings.

Bye
 Sven


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Multiple styles databases RE: list-colors does not work RE: 3.1.6-dev-18
  2000-02-14 10:56 list-colors does not work RE: 3.1.6-dev-18 Sven Wischnowsky
@ 2000-02-14 11:16 ` Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-02-14 11:16 UTC (permalink / raw)
  To: Sven Wischnowsky, zsh-workers

>
>
> Andrej Borsenkow wrote:
>
> > list-colors completely stopped to work after installing dev-18.
> I now have
> >
> > zstyle ':completion:*' menu 'select=0'
> > zstyle ':completion:*:default' list-colors ''
> >
> > Menu works, but list-colors not. I tried all sort of things
> (:completeion:*,
> > :completion:*:*:*:*:*) without success.
> >
> > Surprisingly enough, menu select works :-)
>
> That's a result of the default style for list-colors, which has a far
> more specific pattern. See the discussion started by Peter about
> default settings.
>


So, you mean to say, that

zstyle ':completion:*::::default' ...

is more specific, than

zstyle ':completion:::::default' list-colors ''

???


And the following is not described in current manual:

- what empty part means. Is "::" the same as ":*:" from the matching point
of view?
- does '*' match muliple parts or just anything in current part?

And why not to use multiple style sets (like multiple resources in X11)?
compinit or functions could define there own "default" styles and users
would define "user" style. If style is not found in user database, it is
looked up in default database. this would completely eliminate above
confusion. If user sets "catch-all" style - it is always used; else we
finally fallback to default style.

/andrej


^ permalink raw reply	[flat|nested] 3+ messages in thread

* list-colors does not work RE: 3.1.6-dev-18
  2000-02-11 19:38 3.1.6-dev-18 Peter Stephenson
@ 2000-02-14  9:21 ` Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-02-14  9:21 UTC (permalink / raw)
  To: Peter Stephenson, Zsh hackers list

list-colors completely stopped to work after installing dev-18. I now have

zstyle ':completion:*' menu 'select=0'
zstyle ':completion:*:default' list-colors ''

Menu works, but list-colors not. I tried all sort of things (:completeion:*,
:completion:*:*:*:*:*) without success.

Surprisingly enough, menu select works :-)

/andrej


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-02-14 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-14 10:56 list-colors does not work RE: 3.1.6-dev-18 Sven Wischnowsky
2000-02-14 11:16 ` Multiple styles databases " Andrej Borsenkow
  -- strict thread matches above, loose matches on Subject: below --
2000-02-11 19:38 3.1.6-dev-18 Peter Stephenson
2000-02-14  9:21 ` list-colors does not work 3.1.6-dev-18 Andrej Borsenkow

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).