From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4807 invoked by alias); 16 Feb 2014 03:07:06 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32394 Received: (qmail 11419 invoked from network); 16 Feb 2014 03:06:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.2 From: Bart Schaefer Message-id: <140215190630.ZM2448@torch.brasslantern.com> Date: Sat, 15 Feb 2014 19:06:30 -0800 In-reply-to: <201402152329.s1FNTnO9027345@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: SUGGESTION: Simplify auto-completion, a little" (Feb 15, 11:29pm) References: <201402152329.s1FNTnO9027345@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: SUGGESTION: Simplify auto-completion, a little MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 15, 11:29pm, Peter Stephenson wrote: } Subject: Re: SUGGESTION: Simplify auto-completion, a little } } > you should try setting up menu-selection (so that the first tab would } > take you into a different keymap where "m" would select from among } > the possible choices). } } Hmm... I'm not sure how easy it is to do that at the moment. There is a } keymap for menu-selection, but I think it's only got a limited set of } functions to do with the menu You're right. I was thinking of something that incremental-complete-word does, and attributing it to menu selection. But even i-c-w's not quite as automatic as was requested. Even if there is only one completion, you have to confirm that it's correct by hitting an extra tab. Completion tends to assume that there's always a chance you may want to enter something that's not on its list of choices. I.e., that it's better to hit one extra tab than to have to backspace over half an unwanted word. However, it might be interesting to have incremental-complete-word accept the current completion on space as well as tab (optionally, I suppose).