zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: matching in the new completion system
Date: Wed, 14 Apr 1999 10:31:02 +0200 (MET DST)	[thread overview]
Message-ID: <199904140831.KAA06157@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Wed, 14 Apr 1999 09:50:59 +0200


Peter Stephenson wrote:

> I was thinking about having compadd prepare the final list, i.e. you
> give it a list of prefixes and maybe suffixes when you use the -O option so
> that you don't have to do any filtering on the pattern later on.  But at
> the moment it doesn't seem to be necessary.

;-) I was thinking about the same thing when I first implemented the
new `_path_files', but couldn't find a way to give those prefixes and
suffixes to `compadd'. I would prefer to be able to make this by
giving the strings to test plus something, where the something are not 
two more lists of strings. Maybe the strings plus a way to say what
should be compared (since with `-[AO]' compadd is only doing matching,
almost all other options are useless and hence ignored, so it might be 
ok to add support for matching magic here). On the other hand, all
versions of `_path_files' we had make it clear that being able to give 
different `-p' and `-s' prefixes and suffixes per string would be
interesting to have without the `-[AO]', too.

I was also thinking about being able to give an array-name instead of
giving the string as arguments. Might speed things up a bit for large
numbers of strings to test.

Ok, does anyone have suggestions (for the first one)?

Bye
 Sven


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


             reply	other threads:[~1999-04-14  8:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-14  8:31 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-04-28  7:44 Sven Wischnowsky
1999-04-26 13:39 Sven Wischnowsky
1999-04-26 13:25 ` Peter Stephenson
1999-04-28  4:37 ` Bart Schaefer
1999-04-14  6:19 Sven Wischnowsky
1999-04-14  7:50 ` Peter Stephenson
1999-04-13 13:18 Sven Wischnowsky
1999-04-13 14:39 ` Peter Stephenson
1999-04-14  6:15   ` Andrej Borsenkow
1999-04-13 10:39 Sven Wischnowsky
1999-04-12  9:07 Sven Wischnowsky
1999-04-13  9:56 ` Andrej Borsenkow
1999-04-13 12:46 ` Andrej Borsenkow
1999-04-13 12:35   ` 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=199904140831.KAA06157@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).