zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: 3.1.6-dev-18
Date: Tue, 15 Feb 2000 21:58:45 +0000	[thread overview]
Message-ID: <E12Kpw8-00024N-00.2000-02-15-21-55-12@cmailg6.svr.pol.co.uk> (raw)
In-Reply-To: "Sven Wischnowsky"'s message of "Tue, 15 Feb 2000 10:43:56 +0100." <200002150943.KAA11806@beta.informatik.hu-berlin.de>

Sven Wischnowsky wrote:
> I can only repeat... I would have no problems with turning the matcher 
> style as used by _matcher (or even renaming it for clarity) into one
> that is used as an array. The first _matcher would then use the first
> string in the value, the second one the second string and so on. I
> just thought -- and I may very well be wrong here -- that it would
> make users more aware of what they are doing if we use this more
> explicit setting we have now. I.e., even with the suggested
> array-interpretation of the matcher style one would have to add a new
> call to _matcher in the completer list when adding a new string to the 
> matcher style.

Given the last sentence, your way of doing things does make more sense.
But I appreciate Andrej's point that the _matcher completer ideally
shouldn't be necessary at all, given that there's a style controlling it.
If there is some magic which could go in, say, _main_complete to handle
this, it would be nice.  For example, start with matcher-1, try with that;
then retrieve matcher-N, continuing until either you get the same string as
before (assumption: there was a * in the matcher column), or you get
nothing (assumption: the style's not set at all); plus do some optimisation
based on which completers don't use matching at all, to avoid calling
completers unnecessarily.

On the other discussion, I'm certainly not hung up on providing
alternatives to the string context, which I think is pretty usable when you
get your mind round it.  It's more a question of what the punters think
than what I think.

By the way, should there be a style that says that old-style completions
are to be used?  It would avoid the necessity of customizing _default.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


  parent reply	other threads:[~2000-02-15 21:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-15  9:43 3.1.6-dev-18 Sven Wischnowsky
2000-02-15 10:29 ` 3.1.6-dev-18 Andrej Borsenkow
2000-02-15 21:58 ` Peter Stephenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-02-17 10:58 3.1.6-dev-18 Sven Wischnowsky
2000-02-16 10:50 3.1.6-dev-18 Sven Wischnowsky
2000-02-16 17:41 ` 3.1.6-dev-18 Peter Stephenson
2000-02-15 11:47 3.1.6-dev-18 Sven Wischnowsky
2000-02-14  9:38 3.1.6-dev-18 Sven Wischnowsky
2000-02-14 19:10 ` 3.1.6-dev-18 Peter Stephenson
2000-02-11 19:38 3.1.6-dev-18 Peter Stephenson

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=E12Kpw8-00024N-00.2000-02-15-21-55-12@cmailg6.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --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).