From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3338 invoked by alias); 30 Dec 2012 19:57:35 -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: 30936 Received: (qmail 11668 invoked from network); 30 Dec 2012 19:57:33 -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=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <121230115730.ZM990@torch.brasslantern.com> Date: Sun, 30 Dec 2012 11:57:30 -0800 In-reply-to: <7A04D01C-1BF1-4CD9-9C32-C1FBE80B251C@Yost.com> Comments: In reply to Dave Yost "cycle back through recent candidates for completion" (Dec 29, 1:27pm) References: <7A04D01C-1BF1-4CD9-9C32-C1FBE80B251C@Yost.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "zsh-workers@zsh.org" Subject: Re: cycle back through recent candidates for completion MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Dec 29, 1:27pm, Dave Yost wrote: } Subject: cycle back through recent candidates for completion } } Z% echo } zsh: do you wish to see all 405 possibilities (405 lines)? } } If I type up-arrow to that prompt, I get this: } } Z% echo [A That prompt only accepts two answers, "y" or tab for yes, or any other character which is interpreted as "no". So the three-character sequence that's emitted by up-arrow is interpreted as "no" followed by two characters that get left for ZLE to consume. ZLE isn't like emacs in that the builtin commands are not implemented in terms of its own input system, so prompts like this are handled outside of the regular keybinding control flow and it's non-trivial to treat the input they receive as arbitrary editor commands. } It would be better if up-arrow would take me to the most recent echo } command, just as up-arrow on an empty command line prompt takes me } to the most recent command. Of course, both up-arrow and down-arrow } should allow navigation here. Have you tried zstyle :completion:history-words:\* list false to see if that's closer to what you want?