From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9482 invoked from network); 10 May 2000 17:14:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 May 2000 17:14:26 -0000 Received: (qmail 14750 invoked by alias); 10 May 2000 17:14:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11308 Received: (qmail 14733 invoked from network); 10 May 2000 17:14:18 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) Date: Wed, 10 May 2000 21:14:07 +0400 (MSD) From: Andrej Borsenkow X-Sender: bor@itsrm2.mow.siemens.ru To: Zsh workers list Subject: "Cancel" menu selection & Co? In-Reply-To: <1000510155924.ZM10248@candle.brasslantern.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Currently, as soon as menu selection is started, there seems to be no way to cancel it - that is, revert input line to original state. The closest it, exit menu selection and hit Undo. Does anybody really use ^G to switch from menu selection to menu completion? I hardly see any point here. So, the suggestion is, to make ^G really cancel selection and revert line to it's original state (before match was inserted). This is also consistent behaviour for ^G, that normally cancels actions in other places. As a related (to me at least) question or request - is it possible to enter menu selection immediately if list does not fit on screen? May be, not always (if somebody just wants a list with ^D he prkbably does not want menu selection). OTOH if menu selection can be quit with ^G it can be used as replacement for listing, but replacement that supports scrolling, paging, going back etc. And it just ocured to me, that you may want to set completion (at least, how the results are presented) differently for different widgets. One for complete-word, another for delete-char-or-list etc. Is it possible? E.g. enetr menu selection with complete-word, but show list anyway with d-c-o-l. -andrej