From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7081 invoked by alias); 7 Mar 2013 20:27:57 -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: 31127 Received: (qmail 16287 invoked from network); 7 Mar 2013 20:27:56 -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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.216.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=UEv9tcRcYdnwxcQfhhnMkobNjBcVeSxRwhNAC7LyxR8=; b=SjBtgp+5BP0KWJ5vqVE72g2UbH4yXW+UGoZKW3/Idv2ieUn6aYTb5d5kElHg9wQ2z4 BPir3c42oMEUeG2Gp/CLIvZRAgYyBts2dtjMsuwWFojtHWLzNpD2qTAjFn3nTcSY26Hd IAXuf2XvY9gnDEW3AxBwm8i6ji48GW1WoiA7f2mB7e2Zkef6nO/5l9B9OL6B8ql5KXaT Wu7x+sMzYsSmpneAG0qHNj4tJxzd9334ryjv+w6k7HWZQAbC4YHVu2OiaghlF2/mj1iJ cvNN/4a8jbKRY8xyHyynWqYrQ0A7sFa0snVIUoD0AjJ7LYfIHiGpZrP1bdqgH4guFfm1 ofxQ== MIME-Version: 1.0 X-Received: by 10.49.62.39 with SMTP id v7mr56513370qer.15.1362688070523; Thu, 07 Mar 2013 12:27:50 -0800 (PST) Date: Thu, 7 Mar 2013 15:27:46 -0500 Message-ID: Subject: Bug in compinit and list-choices? From: joe M To: zsh-workers@zsh.org Content-Type: text/plain; charset=ISO-8859-1 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