From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21550 invoked from network); 21 Feb 2000 18:54:38 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Feb 2000 18:54:38 -0000 Received: (qmail 8254 invoked by alias); 21 Feb 2000 18:54:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9825 Received: (qmail 8246 invoked from network); 21 Feb 2000 18:54:32 -0000 Message-ID: <38B189DA.55FD4378@u.genie.co.uk> Date: Mon, 21 Feb 2000 18:54:18 +0000 From: Oliver Kiddle X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Clint Adams CC: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: _x_arguments too broad References: <20000221132831.E23999@dman.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Clint Adams wrote: > > zsh 433 % /usr/bin/X11/imake -display > -display -geometry > > Not very useful. OTOH, /usr/openwin/bin/imake will > complete files, which is perhaps more desirable in It may not be useful but it does offer files aswell so isn't doing any great harm, especially for people like me who have their styles configured to only complete options after an initial prefix. > this instance. Since not every binary in */X11/* > is going to take -display and -geometry, and most > are likely to take other arguments, a better solution > is needed. Maybe a better solution is needed but your patch doesn't offer such a solution. I would prefer that it is not included because the vast majority of programs in */X11/* do take -display and it is useful to be able to complete it. If there is a particular program where it is annoying you such as imake, you can always write a custom completion for it. The */X11/* is in my opinion better than having a huge list of programs after #compdef in _x_arguments. Oliver Kiddle