From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3633 invoked from network); 25 Feb 2003 10:12:08 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Feb 2003 10:12:08 -0000 Received: (qmail 3526 invoked by alias); 25 Feb 2003 10:12:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18289 Received: (qmail 3519 invoked from network); 25 Feb 2003 10:12:01 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Feb 2003 10:12:01 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [4.64.233.231] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Feb 2003 10:12:0 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id h1PABx723337 for zsh-workers@sunsite.dk; Tue, 25 Feb 2003 02:11:59 -0800 From: "Bart Schaefer" Message-Id: <1030225101158.ZM23336@candle.brasslantern.com> Date: Tue, 25 Feb 2003 10:11:58 +0000 In-Reply-To: <1453.1046165826@finches.logica.co.uk> Comments: In reply to Oliver Kiddle "Re: Doc for compdef and #compdef is out of date" (Feb 25, 10:37am) References: <1030223014259.ZM11349@candle.brasslantern.com> <1453.1046165826@finches.logica.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: Doc for compdef and #compdef is out of date MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 25, 10:37am, Oliver Kiddle wrote: } } #compdef -T does not exist. See the first paragraph of 16795. OK, then it's the comment in Completion/Zsh/Context/_value that needs to be updated, not the .yo files. } not sure what you mean by a comma-separated list of context names unless } you just mean the -redirect-,op,command and -value-,name,command forms. That's exactly what I mean. When I see that form in a Completion/** file, I don't think to go looking under _complete for its definition ... so: } Much of _complete's documentation covering contexts should perhaps be } moved to where compdef is documented Exactly. } And just something I noticed in _complete's documentation, does anyone } know what the point of the $compcontext additions in 12449 and 12483 } were. Where might you set compcontext to an array? I can sort-of } understand the use in _nslookup but that is the only use. Given that Sven wrote _nslookup, I'm pretty sure that the additions in 12449 and 12483 were specifically to support that one use. He must have thought it would be more generally interesting than it has turned out to be ...