From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1575 invoked from network); 11 Oct 2000 16:42:54 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Oct 2000 16:42:54 -0000 Received: (qmail 1745 invoked by alias); 11 Oct 2000 16:42:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12970 Received: (qmail 1736 invoked from network); 11 Oct 2000 16:42:06 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "E. Jay Berkenbilt" , Subject: RE: completion widgets in menu selection Date: Wed, 11 Oct 2000 20:42:03 +0400 Message-ID: <000501c033a2$2f6b65e0$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.2911.0) In-reply-to: <200010111559.LAA01806@soup.ql.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > In the last several weeks, I raised three issues on this list: > > 1. a|TAB being broken (which was fixed and I assume committed to > CVS) > > 2. being able to more flexibly say that the completion rules for one > command should be identical to another (as in _rlogin) without > requiring Draconian restrictions on how completion functions > should be organized > > 3. (my favorite) being able to insert all completions that match the > current shell globbing expression into the commandline. > > The first issue is obviously resolved. The second issue has generated > less traffic than the third and I haven't had much trouble following. > It seems like a good track is being followed. > > On the final issue, I'm confused about where things are going. I've > decided that, as Bart suspected all along, I don't really like TAB > automatically "expanding" my glob expression even in the case of cvs > add. What I think I really like is the _insert_all_matches option. > That way I can hit TAB to see what would complete without actually > having the completion be done, and if I'm satisfied, do something like > ^Xi to do the expansion. Has this functionality actually been added, > or was it just discussed? > Hey ho! Now I'm not alone! :-))) Yes, all prerequisites are implemented in current CVS. What is missing, is the widget/key binding itself, but if you use example from docs verbatim, it works. I've tried it and I confirm it. If you have suggestions what this _insert_all_matches should do - you are welcome. The difference between example and my version is that in my version you could hit ^Xi - and if there was no list, it called normal completion. Is this interesting? Example from docs will work only after existing list has already been generated. -andrej