zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: cycle back through recent candidates for completion
Date: Sun, 30 Dec 2012 11:57:30 -0800	[thread overview]
Message-ID: <121230115730.ZM990@torch.brasslantern.com> (raw)
In-Reply-To: <7A04D01C-1BF1-4CD9-9C32-C1FBE80B251C@Yost.com>

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?


      reply	other threads:[~2012-12-30 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29 21:27 Dave Yost
2012-12-30 19:57 ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=121230115730.ZM990@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).