From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13363 invoked from network); 30 Sep 2004 15:36:43 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Sep 2004 15:36:43 -0000 Received: (qmail 49077 invoked from network); 30 Sep 2004 15:36:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Sep 2004 15:36:37 -0000 Received: (qmail 16564 invoked by alias); 30 Sep 2004 15:36:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20428 Received: (qmail 16548 invoked from network); 30 Sep 2004 15:36:22 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 30 Sep 2004 15:36:22 -0000 Received: (qmail 48507 invoked from network); 30 Sep 2004 15:36:06 -0000 Received: from moonbase.zanshin.com (64.84.47.139) by a.mx.sunsite.dk with SMTP; 30 Sep 2004 15:36:04 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.13.1/8.13.1) with ESMTP id i8UFZwhX011032; Thu, 30 Sep 2004 08:35:58 -0700 Date: Thu, 30 Sep 2004 08:35:58 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-workers@sunsite.dk To: Peter Stephenson cc: Zsh hackers list Subject: Re: PATCH: (perhaps) for use of _oldlist In-Reply-To: <200409301133.i8UBXpGA017289@news01.csr.com> Message-ID: References: <200409301133.i8UBXpGA017289@news01.csr.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=6.0 tests=BAYES_10 autolearn=no version=2.63 X-Spam-Hits: -0.9 On Thu, 30 Sep 2004, Peter Stephenson wrote: > _main_completer squirrels away compstate[nmatches] regardless of > _oldlist; the value is 0 after the first use of _oldlist because we > didn't generate any matches this time. (I say "appears" because > although it certainly does do what I said it's possible there's > something deeper going on.) I was having a similar problem with _oldlist and a custom completion context, but I thought it was due to the WIDGETSTYLE business in _oldlist itself, that you already patched. So I think you probably have the right idea with this patch, if the problem persists.