zsh-workers
 help / color / mirror / code / Atom feed
From: joe M <joe9mail@gmail.com>
To: zsh-workers@zsh.org
Subject: Bug in compinit and list-choices?
Date: Thu, 7 Mar 2013 15:27:46 -0500	[thread overview]
Message-ID: <CAHjjW15=aoxV9RhbCNFdByoibsb78P5nL2yhEy-VKJ417be_gg@mail.gmail.com> (raw)

Hello,

The following snippet of code in compinit:

# Rebind the standard widgets
for _i_line in complete-word delete-char-or-list expand-or-complete \
  expand-or-complete-prefix list-choices menu-complete \
  menu-expand-or-complete reverse-menu-complete; do
  zle -C $_i_line .$_i_line _main_complete
done
zle -la menu-select && zle -C menu-select .menu-select _main_complete

If I have a line (BUFFER="!7") '!7', and, I try list-choices on that
line, it automatically expands that line into the 7th history line.
Shouldn't it list the choices instead of expanding it automatically?

The above behaviour happens even when the options AUTO_LIST and
LIST_AMBIGUOUS are set or unset.

Thanks
Joe


                 reply	other threads:[~2013-03-07 20:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAHjjW15=aoxV9RhbCNFdByoibsb78P5nL2yhEy-VKJ417be_gg@mail.gmail.com' \
    --to=joe9mail@gmail.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).