From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27630 invoked from network); 24 May 2000 08:11:18 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 May 2000 08:11:18 -0000 Received: (qmail 2256 invoked by alias); 24 May 2000 08:11:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11551 Received: (qmail 2249 invoked from network); 24 May 2000 08:11:02 -0000 Date: Wed, 24 May 2000 10:09:35 +0200 (MET DST) Message-Id: <200005240809.KAA30260@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Oliver Kiddle's message of Tue, 23 May 2000 19:00:33 +0100 Subject: Re: PATCH: minor completion things Oliver Kiddle wrote: > ... > > Finally, _lsdev was missing a local definition. One aspect of the > _arguments documentation which I am not entirely clear on is whether I > need to declare the local curcontext when we are not using a ->state > thing? If so, a number of the other AIX completions will need it adding. No, without a `->state' spec no variables have to make local in the calling function. Why should you need it, _arguments doesn't give control back to the caller to handle actions in such cases. > It seems that the vast majority of uses of _arguments use a -C option: > the context is rarely useful in a state so maybe -C should be the > default? -C was added when we were still struggling to learn the ways of the contexts... yes, maybe we should make it the default, but I'm probably getting a bit tired to yet again change lots of functions. Maybe someone else finds the time? ;-) Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de