From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27686 invoked from network); 5 Feb 2008 14:51:07 -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.4 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; 5 Feb 2008 14:51:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 41841 invoked from network); 5 Feb 2008 14:51:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Feb 2008 14:51:03 -0000 Received: (qmail 5692 invoked by alias); 5 Feb 2008 14:50:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24534 Received: (qmail 5676 invoked from network); 5 Feb 2008 14:50:59 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 5 Feb 2008 14:50:59 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id D53DC80482A1 for ; Tue, 5 Feb 2008 15:50:48 +0100 (CET) Received: from rly37d.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly37d.srv.mailcontrol.com (MailControl) with ESMTP id m15EogJf023461 for ; Tue, 5 Feb 2008 14:50:46 GMT Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly37d.srv.mailcontrol.com (MailControl) id m15EoJw1019847 for zsh-workers@sunsite.dk; Tue, 5 Feb 2008 14:50:19 GMT Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly37d-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id m15Eo0Gs018929; Tue, 05 Feb 2008 14:50:19 +0000 (GMT) Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Tue, 5 Feb 2008 14:50:12 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id m15EoCi4029204; Tue, 5 Feb 2008 14:50:12 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m15EoCEO029200; Tue, 5 Feb 2008 14:50:12 GMT Message-Id: <200802051450.m15EoCEO029200@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: agcosta@gis.net, 463507@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#463507: zsh: Completion fails with: "_main_complete:161: permission denied:" In-reply-to: <200802051441.m15EftTc029061@news01.csr.com> References: <20080131221535.c1aa6f7c.agcosta@gis.net> <20080201133818.GA28192@scowler.net> <20080201173143.2a7ec474.agcosta@gis.net> <20080202030920.GA2099@scowler.net> <20080202014728.9aeb3310.agcosta@gis.net> <20080202184123.GA20032@scowler.net> <20080203004905.a85d2c3c.agcosta@gis.net> <20080205033050.GA4729@scowler.net> <20080205024651.ea4026a1.agcosta@gis.net> <20080205141957.GA17778@scowler.net> <200802051441.m15EftTc029061@news01.csr.com> Comments: In-reply-to Peter Stephenson message dated "Tue, 05 Feb 2008 14:41:55 +0000." Date: Tue, 05 Feb 2008 14:50:12 +0000 From: Peter Stephenson X-OriginalArrivalTime: 05 Feb 2008 14:50:12.0469 (UTC) FILETIME=[693BFA50:01C86806] X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.68.1.147 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on bifrost X-Virus-Status: Clean Peter Stephenson wrote: > + if (( ${#completers} == 0 )); then > + completers[_complete]=1 > + fi Come to think of it, the default should almost certainly be the same as what the completion system uses if the style isn't set, i.e. with _ignored, too. I'll commit it with that added. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070