From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Danek Duvall <duvall@lorien.emufarm.org>,
zsh-users@sunsite.auc.dk (Zsh Users)
Subject: Re: Inserting all completions
Date: Mon, 19 Jul 1999 23:59:57 +0000 [thread overview]
Message-ID: <990719235957.ZM10699@candle.brasslantern.com> (raw)
In-Reply-To: <19990719160321.A30158@lorien.emufarm.org>
On Jul 19, 4:03pm, Danek Duvall wrote:
>
> Hmmm, okay ... I don't want to replace completion with this entirely. I'd
> like to have two keystrokes -- one, tab, is the normal completion
> mechanism. The second, ^X^I or something, puts all the matches on the
> line.
Just change the "compdef" in my previous example to:
compdef -k _all expand-or-complete '^X^I'
This creates a binding that acts like expand-or-complete but that calls
the function _all to generate the matches.
> The question then is, how to write function_to_compute_reply() in a
> suitably generic manner ...
Hmm. The existing Completions/*/* functions would be ideal for this, if
there were some way to refer to "all the matches that have already been
added by some other completer." Unfortunately I've forgotten whether
there is, and I can't find anything about it in the docs ... Sven?
next prev parent reply other threads:[~1999-07-20 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-19 18:30 Danek Duvall
1999-07-19 19:14 ` Larry P. Schrof
1999-07-19 22:51 ` Bart Schaefer
1999-07-19 23:03 ` Danek Duvall
1999-07-19 23:59 ` Bart Schaefer [this message]
1999-07-20 7:53 Sven Wischnowsky
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=990719235957.ZM10699@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=duvall@lorien.emufarm.org \
--cc=zsh-users@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).