From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10097 invoked from network); 1 Mar 2008 23:06:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Mar 2008 23:06:20 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 77738 invoked from network); 1 Mar 2008 23:06:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Mar 2008 23:06:16 -0000 Received: (qmail 11958 invoked by alias); 1 Mar 2008 23:06:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24650 Received: (qmail 11939 invoked from network); 1 Mar 2008 23:06:12 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 1 Mar 2008 23:06:12 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id CB8388028C4C for ; Sun, 2 Mar 2008 00:06:08 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 18DBC5C1A4; Sat, 1 Mar 2008 18:06:05 -0500 (EST) Date: Sat, 1 Mar 2008 18:06:06 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: Re: Bug#468386: zsh-beta: Slow command completion Message-ID: <20080301230606.GA15020@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk References: <87zltldnde.fsf@elegiac.orebokech.com> <20080228172715.GA12451@scowler.net> <080228095414.ZM15685@torch.brasslantern.com> <200802281754.m1SHsSf1021072@news01.csr.com> <20080228182402.GA24702@scowler.net> <080228171120.ZM16163@torch.brasslantern.com> <20080229020734.GA11155@scowler.net> <080229091201.ZM17597@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <080229091201.ZM17597@torch.brasslantern.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/6074/Sat Mar 1 22:59:36 2008 on bifrost X-Virus-Status: Clean On Fri, Feb 29, 2008 at 09:12:01AM -0800, Bart Schaefer wrote: > Unfortunately that would mess with every "zstyle -T ... verbose" in the > whole completion tree, so it's probably best just to leave it at your > patch for now, unless someone feels strongly about it. Speaking of which, -T is probably not at all what we want. Index: Completion/Unix/Type/_path_commands =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_path_commands,v retrieving revision 1.3 diff -u -r1.3 _path_commands --- Completion/Unix/Type/_path_commands 28 Feb 2008 18:29:05 -0000 1.3 +++ Completion/Unix/Type/_path_commands 1 Mar 2008 23:04:17 -0000 @@ -26,7 +26,7 @@ _path_commands() { local need_desc expl ret=1 -if zstyle -T ":completion:${curcontext}:" extra-verbose; then +if zstyle -t ":completion:${curcontext}:" extra-verbose; then local update_policy first if [[ $+_command_descriptions -eq 0 ]]; then first=yes