From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2871 invoked from network); 16 Jun 1999 14:22:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jun 1999 14:22:52 -0000 Received: (qmail 23511 invoked by alias); 16 Jun 1999 14:22:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6665 Received: (qmail 23500 invoked from network); 16 Jun 1999 14:22:29 -0000 From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: _match and auto menu with multipath again Date: Tue, 15 Jun 1999 17:05:21 +0400 Message-ID: <002b01beb72f$b93bc300$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.2314.1300 As I can recall, _match automatically starts menu completion (if more than one choice is present). I won't argue that (after all, there is no place where I can type in next char :-), but I still find the current way pretty confusing: bor@itsrm2:~%> compconf -L compconf correct_accept='2n' compconf match_original='yes' compconf completer='_complete:_match' compconf dumpfile='/home/bor/.zcompdump' compconf correct_prompt='correct to:' bor@itsrm2:~%> l /a/p/u/z/z*22* bor@itsrm2:~%> l /archive/pub/unix/zip/z*22* zip/ zsh/ Note again, that menu is started for some middle path - without *any* visible feedback for user (that is, I have no idea what is being completed). Even worse, repeatedly typing TAB cycles through ``zip'' and ``zsh'', leaving no way to select one (yes, I know - 'cursor-left,cursor-right' etc, but they are not *natural* way). This switch to menu is very unexpected and will confuse many users. That was mostly a reason, why I requested cursor be placed on a word part that is being completed. How hard is it to simply start normal completion? What I mean, is: bor@itsrm2:~%> l /a/p/u/z/z*22* bor@itsrm2:~%> l /archive/pub/unix/z/z*22* zip/ zsh/ ^ cursor here and after this part is done, simply start normal completion for the next ambiguous part? I don't insist on it being default, but as an option? /andrej