From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20293 invoked from network); 2 May 2002 23:20:38 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 May 2002 23:20:38 -0000 Received: (qmail 2623 invoked by alias); 2 May 2002 23:20:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17068 Received: (qmail 2601 invoked from network); 2 May 2002 23:20:19 -0000 Date: Thu, 2 May 2002 16:20:10 -0700 (PDT) From: Bart Schaefer Sender: schaefer@ns1.sodaware.com To: Hans Dieter Pearcey cc: "joel w. reed" , Subject: Re: [PATCH]always show complete list In-Reply-To: <20020502214812.GE14354@malachi.theoscape.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 2 May 2002, Hans Dieter Pearcey wrote: > On Thu, May 02, 2002 at 02:42:57PM -0400, joel w. reed wrote: > > this patch adds a config option LISTALWAYS that if set, makes > > zsh-4.0.4 always show the complete list if the completion > > resulted in only a partial completion > > > > zsh already does this. > > see AUTO_LIST (which is on by default) and LIST_AMBIGUOUS in zshoptions. No, you misunderstand. With autolist+listambiguous, zsh will first complete as far as it can, and then stop -- you have to press TAB again to see the list of possible completions. This patch is intended to cause zsh to immediately display the list any time it can't complete to a unique match, even if it can complete part of the way. However, this can be done in the new completion system without having to change the C code by assigning compstate[list]=list at some appropriate place. I don't have time to figure out exactly where, at the moment ...