zsh-workers
 help / color / mirror / code / Atom feed
* Something strange with matcher
@ 2000-03-23 10:46 Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-03-23 10:46 UTC (permalink / raw)
  To: ZSH workers mailing list

After recent patches (up to and including 10210)  old setup does not
work any more

bor@itsrm2% zstyle -L
zstyle ':completion:*' completer _oldlist _complete _match
zstyle :completion::approximate: max-errors 3
zstyle ':completion:*' menu 'select=0'
zstyle ':completion:*::::default' list-colors ''
zstyle ':completion:*:match:*' original yes
zstyle ':completion:*:match:*' insert-unambiguous yes
zstyle ':completion:*:paths' cursor yes
zstyle ':completion:*:oldlist' list _match
zstyle ':completion:*' list-rows-first yes
zstyle ':completion:*:*:files' matcher 'r:|[.-]=**'
zstyle ':completion:*:cd:*' matcher 'r:|[.-]=**'
zstyle ':completion:*' group-name ''
zstyle ':completion:*:descriptions' format 'Completing %d'
bor@itsrm2% l
3.1.6-dev-16/  3.1.6-dev-19/
bor@itsrm2% l -19TAB
just beeps while it did work before.

Funnily, matcher for cd still works so I suspect now `files' tag is
treated differently?

-andrej

Have a nice DOS!
B >>


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

* RE: Something strange with matcher
  2000-03-23 10:56 Sven Wischnowsky
@ 2000-03-23 10:59 ` Andrej Borsenkow
  0 siblings, 0 replies; 3+ messages in thread
From: Andrej Borsenkow @ 2000-03-23 10:59 UTC (permalink / raw)
  To: Sven Wischnowsky, zsh-workers

> > 
> > Funnily, matcher for cd still works so I suspect now `files' tag is
> > treated differently?
> 
> Yes, cleaner. Actually, I'm a bit suprised that it worked 
> before, that 
> wasn't really planned.
> 
> Anyway, as _complete_help could have told you:
> 

Ahem ... but I did try complete help

bor@itsrm2% l 
tags in context :completion::complete:ls::
      files     (_default)
      all-files (_files _default)

-andrej


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

* Re: Something strange with matcher
@ 2000-03-23 10:56 Sven Wischnowsky
  2000-03-23 10:59 ` Andrej Borsenkow
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Wischnowsky @ 2000-03-23 10:56 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> After recent patches (up to and including 10210)  old setup does not
> work any more
> 
> bor@itsrm2% zstyle -L
> zstyle ':completion:*' completer _oldlist _complete _match
> zstyle :completion::approximate: max-errors 3
> zstyle ':completion:*' menu 'select=0'
> zstyle ':completion:*::::default' list-colors ''
> zstyle ':completion:*:match:*' original yes
> zstyle ':completion:*:match:*' insert-unambiguous yes
> zstyle ':completion:*:paths' cursor yes
> zstyle ':completion:*:oldlist' list _match
> zstyle ':completion:*' list-rows-first yes
> zstyle ':completion:*:*:files' matcher 'r:|[.-]=**'
> zstyle ':completion:*:cd:*' matcher 'r:|[.-]=**'
> zstyle ':completion:*' group-name ''
> zstyle ':completion:*:descriptions' format 'Completing %d'
> bor@itsrm2% l
> 3.1.6-dev-16/  3.1.6-dev-19/
> bor@itsrm2% l -19TAB
> just beeps while it did work before.
> 
> Funnily, matcher for cd still works so I suspect now `files' tag is
> treated differently?

Yes, cleaner. Actually, I'm a bit suprised that it worked before, that 
wasn't really planned.

Anyway, as _complete_help could have told you:

  zstyle ':completion:*:all-files' matcher ...

does what you want...

I.e. _files now really only uses all-files, globbed-files, directories 
or the tags you define yourselves with the file-patterns style.

Ok?

Bye
 Sven


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


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

end of thread, other threads:[~2000-03-23 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-23 10:46 Something strange with matcher Andrej Borsenkow
2000-03-23 10:56 Sven Wischnowsky
2000-03-23 10:59 ` 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).