From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4295 invoked from network); 8 Jul 1999 13:20:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Jul 1999 13:20:52 -0000 Received: (qmail 5433 invoked by alias); 8 Jul 1999 13:20:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7041 Received: (qmail 5421 invoked from network); 8 Jul 1999 13:20:43 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: PATCH: Re: General comments on completion Date: Thu, 8 Jul 1999 17:20:32 +0400 Message-ID: <000801bec944$a7d5ac30$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) In-Reply-To: <199907080904.LAA11932@beta.informatik.hu-berlin.de> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Maybe we should use a different config key for > this -- if you are using _oldlist and find some strange behavior, tell > me. > The following happens with _oldlist and the completion keys: bor@itsrm2:~/test/match%> compconf -L compconf correct_accept='2n' compconf match_original='yes' compconf completer='_oldlist:_complete:_match' compconf dumpfile='/home/bor/.zcompdump' compconf oldlist_list='_match' compconf path_cursor='yes' compconf match_insert='unambig' compconf correct_prompt='correct to:' bor@itsrm2:~/test/match%> ls /h/b/t/m/a?a/<12->TAB bor@itsrm2:~/test/match%> ls /home/bor/test/match/a/\<12-\> axa/ aya/ ^ cursor here; after TAB bor@itsrm2:~/test/match%> l /home/bor/test/match/axa/\<12-\>CURSOR HERE axa/ aya/ ^ It happens if _oldlist is used *and* cursor is initially at the end of word. If I move cursor inside of word, it works as expected: bor@itsrm2:~/test/match%> ls /h/b/t/m/a?a/<12->TAB ^ cursor here bor@itsrm2:~/test/match%> ls /home/bor/test/match/a/\<12-\> axa/ aya/ ^ cursor here bor@itsrm2:~/test/match%> ls /home/bor/test/match/axa/\<12-\> axa/ aya/ ^ cursor here I have only setopt nolistambiguous explicitly set. It remains from old zshrc. /andrej