From: Bart Schaefer <schaefer@tiny.zanshin.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: Let's finish this new completion stuff
Date: Mon, 22 Feb 1999 21:28:45 -0800 (PST) [thread overview]
Message-ID: <14034.15501.825775.605773@c-bart.amazon.com> (raw)
In-Reply-To: <199902220944.KAA20958@beta.informatik.hu-berlin.de>
Just a few words ...
Sven Wischnowsky writes:
>
> Making the list of completions generated so far available isn't that
> easy without disallowing adding further completions. Also, we can't
> easily deliver all the information stored with an array. But now that
> we are speaking about sepcial subscript-syntax anyway, how about:
>
> $matches[num][prefix] gives the `compadd -p'-prefix of the num'th
> match
> $matches[num][string] the string to list
I don't want to get into anything that looks like a multidimensional
array. OK would be $matches[prefix(num)] or something ... though in
thinking about it a bit further, I think I prefer requiring the (r) or
(R) flag to activate any such magic, e.g. $matches[(r)prefix(num)].
The connection to patterns is useful; it's just a special case of a
pattern.
next prev parent reply other threads:[~1999-02-23 8:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-22 9:44 Sven Wischnowsky
1999-02-23 5:28 ` Bart Schaefer [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-02-23 9:08 Sven Wischnowsky
1999-02-22 16:01 Sven Wischnowsky
1999-02-22 10:36 Sven Wischnowsky
1999-02-22 8:50 Sven Wischnowsky
1999-02-21 3:59 Matt Armstrong
1999-02-22 8:59 ` Peter Stephenson
1999-02-19 15:21 Sven Wischnowsky
1999-02-20 15:01 ` Peter Stephenson
1999-02-22 0:15 ` 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=14034.15501.825775.605773@c-bart.amazon.com \
--to=schaefer@tiny.zanshin.com \
--cc=schaefer@zanshin.com \
--cc=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).