From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Bart Schaefer" <schaefer@candle.brasslantern.com>,
"Sven Wischnowsky" <wischnow@informatik.hu-berlin.de>,
<zsh-workers@sunsite.auc.dk>
Subject: RE: accept-and-infer-next-history in path completion
Date: Fri, 9 Jul 1999 19:17:49 +0400 [thread overview]
Message-ID: <001401beca1e$3490d850$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <990709150731.ZM5309@candle.brasslantern.com>
>
> I'm a bit (er, a lot) behind on patches ... what's the difference between
> this and accept-and-menu-complete? And if there is a difference, maybe
> accept-and-hold would be a better widget to co-opt than a-a-i-n-h?
>
a-a-m-c accepts finishes the completion of current word and adds _new_ word with
next possible match. a-a-i-n-h in menu select accepts currently selected match
and continues to complete _the_current_word_. In case of multipart ambiguous
completion it makes a big difference:
bor@itsrm2:~%> l /a/p/u/z/*<TAB>
bor@itsrm2:~%> l /archive/pub/unix/z<TAB>
zip/ zmodem/ zsh/
bor@itsrm2:~%> l /archive/pub/unix/zip
zip/ zmodem/ zsh/
If you now press a-a-m-c you get:
bor@itsrm2:~%> l /archive/pub/unix/zip /archive/pub/unix/zmodem
zip/ zmodem/ zsh/
and if you press a-a-i-n-h
bor@itsrm2:~%> l /archive/pub/unix/zip/unzip532.tar.gz
unzip532.tar.gz zcrypt27.zip zip22.tar.gz
unzip540.tar.gz zcrypt28.zip
it assumes, that SELCTMINis set to 0 or 1, so that menu selection is started
immediately.
/andrej
next prev parent reply other threads:[~1999-07-09 15:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-09 8:19 Sven Wischnowsky
1999-07-09 15:07 ` Bart Schaefer
1999-07-09 15:17 ` Andrej Borsenkow [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-07-12 6:25 Sven Wischnowsky
1999-07-07 8:23 PATCH: complist Sven Wischnowsky
1999-07-09 7:47 ` accept-and-infer-next-history in path completion Andrej Borsenkow
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='001401beca1e$3490d850$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=schaefer@candle.brasslantern.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).