zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Completion issues
Date: Thu, 6 Apr 2000 09:31:16 +0200 (MET DST)	[thread overview]
Message-ID: <200004060731.JAA06356@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Wed, 05 Apr 2000 19:30:00 +0100


Peter Stephenson wrote:

> > > Another thing:  I couldn't get matcher-list to work for a labelled
> > > completer, e.g. _complete:-extended.
> 
> This seems to work this time.  Don't what I did wrong.  So what's the
> difference between matcher and matcher-list now?  The latter is looked up
> once for a completer (but again if we have a labelled completer), but the
> latter is looked up every single time we add a match?

Two main differences:

1) matcher is tested for the most specific contexts possible,
   including the tags, matcher-list, as you said, only for the
   completer

2) matcher-list uses its values on after another (there is a loop),
   matcher uses all its values in one go

But, yes, with completer-labelling one could replace matcher-list with 
a couple of matcher styles settings. Exactly because of that `couple of'
I kept matcher-list -- it's so much more convenient.

Bye
 Sven


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


             reply	other threads:[~2000-04-06  7:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-06  7:31 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-04  9:49 Sven Wischnowsky
2000-04-03 15:25 Sven Wischnowsky
2000-04-05 18:30 ` Peter Stephenson
2000-04-03 13:11 Sven Wischnowsky
2000-04-03 12:56 Sven Wischnowsky
2000-04-01 20:26 Peter Stephenson
2000-04-02  3:16 ` Bart Schaefer

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=200004060731.JAA06356@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).