From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8544 invoked from network); 27 Jun 2000 15:19:09 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Jun 2000 15:19:09 -0000 Received: (qmail 18392 invoked by alias); 27 Jun 2000 15:19:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12088 Received: (qmail 18385 invoked from network); 27 Jun 2000 15:19:01 -0000 Date: Tue, 27 Jun 2000 17:18:59 +0200 (MET DST) Message-Id: <200006271518.RAA29153@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Tue, 27 Jun 2000 18:50:23 +0400 Subject: Re: undo in menu selection broken Andrej Borsenkow wrote: > It is probably the result of recent patch and hence partially my fault. > undo'ing after accept-and-infer-next-history does not goes up but rather > deletes one character on the line. > > bor@itsrm2% cd ./AIX/ > Completing directory > AIX/ Bsd/ CVS/ Core/ Linux/ X/ > Base/ Builtins/ Commands/ Debian/ User/ > bor@itsrm2% cd ./AIX/ (after a-a-i-n-h) > bor@itsrm2% cd .AIX/ (after undo) The problem is something I asked some time ago: a-a-i-n-h has problems when the completion it tries generates only one or two matches. In this case there is only one (CVS), so instead of accepting that it leaves menu-selection and the undo then removes the slash. Probably some messed up undo state, I'll have a look. But the real problem with this is the a-a-i-n-h behaviour. What should it do when there are no matches or only one? I would definitely prefer it if it didn't leave menu selection. For one match this would show that match, quite reasonably, but when there are no matches? Ideas, anyone? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de