From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17011 invoked from network); 20 Sep 2006 10:47:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Sep 2006 10:47:54 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 88792 invoked from network); 20 Sep 2006 10:47:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Sep 2006 10:47:47 -0000 Received: (qmail 5247 invoked by alias); 20 Sep 2006 10:47:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10747 Received: (qmail 5237 invoked from network); 20 Sep 2006 10:47:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 20 Sep 2006 10:47:38 -0000 Received: (qmail 87732 invoked from network); 20 Sep 2006 10:47:38 -0000 Received: from fw.sigpipe.cz (HELO isis.sigpipe.cz) (62.245.70.224) by a.mx.sunsite.dk with SMTP; 20 Sep 2006 10:47:37 -0000 Received: from dagan.sigpipe.cz (dagan.sigpipe.cz [10.9.8.90]) by isis.sigpipe.cz (Postfix) with ESMTP id 995171F87BF2; Wed, 20 Sep 2006 12:47:36 +0200 (CEST) Received: by dagan.sigpipe.cz (Postfix, from userid 1001) id 7F2862C9199; Wed, 20 Sep 2006 12:48:14 +0000 (UTC) Date: Wed, 20 Sep 2006 12:48:14 +0000 From: Roman Neuhauser To: Peter Stephenson Cc: zsh users Subject: Re: error in 19.3.1 Message-ID: <20060920124814.GA56989@dagan.sigpipe.cz> Mail-Followup-To: Peter Stephenson , zsh users References: <20060919222852.GA46327@dagan.sigpipe.cz> <200609200926.k8K9QhEF009890@news01.csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609200926.k8K9QhEF009890@news01.csr.com> User-Agent: Mutt/1.5.11 # pws@csr.com / 2006-09-20 10:26:43 +0100: > Roman Neuhauser wrote: > > This is near the end of 19.3.1: > > (The section numbers aren't particularly easy to trace back to the > documentation source, so names are probably more convenient.) Aha, sorry. > > zstyle -e ':completion:*' completer ' > > if [[ $words[1] = cvs ]]; then > > reply=(_complete) > > else > > reply=(_complete _approximate) > > fi' > > > > uses the value `_complete' for the completer style in most contexts, but > > the value `_complete _approximate' when the first word on the command > > line is `cvs'. > > You mean the code should be the other way round? Only if the behavior described in the text actually makes sense, that is, is this setting useful? Not if the _approximate completer bypasses the smarts that make _cvs offer only unversioned files to cvs add, only versioned (or scheduled for addition) files to cvs ci, etc. I don't actually know what will _cvs do with this completer (svn everywhere I look), I'm just saying this should be considered. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991