From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1181 invoked from network); 9 Jul 1999 15:18:23 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jul 1999 15:18:23 -0000 Received: (qmail 6134 invoked by alias); 9 Jul 1999 15:18:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7089 Received: (qmail 6127 invoked from network); 9 Jul 1999 15:18:05 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Bart Schaefer" , "Sven Wischnowsky" , Subject: RE: accept-and-infer-next-history in path completion Date: Fri, 9 Jul 1999 19:17:49 +0400 Message-ID: <001401beca1e$3490d850$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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) In-Reply-To: <990709150731.ZM5309@candle.brasslantern.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal > > 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/* bor@itsrm2:~%> l /archive/pub/unix/z 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