From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: approximate completion in _path_files and multipart completion
Date: Thu, 23 Dec 1999 19:57:15 +0300 [thread overview]
Message-ID: <001f01bf4d66$c3a42260$21c9ca95@mow.siemens.ru> (raw)
I believe, we should more precisely define, what actually approximate completion
means in case of _path_files.
I have /archive/sni/mr, approximate with 3 errors, and tried
/a/sin/mr<TAB>
keeping in mind the above path. To my surprise I got
bor@itsrm2% cd /a1/sin/mr
a1/ u1@ var/
/a/sin/mr
and this after *really* long time. No wonder - zsh had tried the whole
filesystem three levels deep!
Looking at it I doubt, if any sensible way to mix both
(_approximate+_path_files) exists. And, in any case, decision about how and
where to use approximate matching should be made by final completion function.
Only this one knows about the real meaning of ${PREIFX}${SUFFIX}.
/andrej
next reply other threads:[~1999-12-23 16:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-23 16:57 Andrej Borsenkow [this message]
2000-01-04 12:21 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='001f01bf4d66$c3a42260$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--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).