From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9271 invoked by alias); 9 Apr 2011 15:03:51 -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: 28982 Received: (qmail 7101 invoked from network); 9 Apr 2011 15:03:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.220.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=0V8YH5Y75lgF50dF6JMV3n/ekb0THwJkEUsal1miwKg=; b=xeMNth1Fg8AB1bbC/QLgwHE93HoK40QrTSlUbWFhxiu1b28W+HMyhU1+/3RLcArA00 09IoLM0HBLVqAIkBlNiybhYen/o1dHO2UQTnUmTPUIeh2SuZ56Une2BaN6PPo0RUewp2 Y2PheF7eW5y5ZptABphjsmyLo62deGYIJmTro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OkyGYpdLTldxSsw+jwzAE5xi1nwDYSpCWhiOABbPubbp5gtBWqwBRXV++AGbx2Br6x 4CFWrl6tCMOeJsHM3qA16+RN3vCqSB/YsioIU7PAlsCoiGzwo515eJYqDeZnzEzRyAIe nTbCABljwLdvrSwaBa4KkEFcGR/hPEGcB6oaQ= MIME-Version: 1.0 Date: Sat, 9 Apr 2011 16:56:13 +0200 Message-ID: Subject: menu-select interactive mode From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 We were talking on irc about this, and I couldn't get it to work. Turns out if you just set zstyle ':completion:*' menu interactive and invoke the menu-select widget, nothing happens. What you have to do is either zstyle ':completion:*' menu select interactive but then you always get menu selection which you might not want (I don't), so I ended up with this instead zle -C menu-select-interactive menu-complete _generic zstyle ':completion:menu-select-interactive:*' menu select interactive bindkey "^[m" menu-select-interactive (^[m was previously set to menu-select) Is this intended or a bug? The _main_complete code leading up to setting MENUMODE isn't very obvious to me. -- Mikael Magnusson