From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13341 invoked from network); 23 Dec 1999 16:57:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Dec 1999 16:57:42 -0000 Received: (qmail 11170 invoked by alias); 23 Dec 1999 16:57:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9148 Received: (qmail 11157 invoked from network); 23 Dec 1999 16:57:17 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: approximate completion in _path_files and multipart completion Date: Thu, 23 Dec 1999 19:57:15 +0300 Message-ID: <001f01bf4d66$c3a42260$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 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 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