From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28936 invoked from network); 7 Dec 2001 12:27:06 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Dec 2001 12:27:06 -0000 Received: (qmail 8992 invoked by alias); 7 Dec 2001 12:26:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16309 Received: (qmail 8979 invoked from network); 7 Dec 2001 12:26:57 -0000 X-VirusChecked: Checked X-Authentication-Warning: iris.logica.co.uk: Host kiddleo@rambo.logica.co.uk [158.234.33.58] claimed to be yahoo.co.uk Sender: kiddleo@iris.logica.co.uk Message-ID: <3C10B570.35567EEF@yahoo.co.uk> Date: Fri, 07 Dec 2001 12:26:24 +0000 From: Oliver Kiddle X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Felix Rosencrantz CC: zsh-workers Subject: Re: zstyle for _arguments feature request References: <20011206201229.44546.qmail@web10405.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Felix Rosencrantz wrote: > > I sent message workers/15664 back in August, but there was no response. > > I was asking two things: > * a feature request that would make it possible to override/edit the > action field of an _arguments specification via zstyle. For example in Yes, this could be useful. The form in which I'd like to see it in is a more general version of the fake-files and fake-parameters styles and available in all contexts as opposed to just in _arguments. > _find the -fstype flag spec is missing ext2 used by linux: > > '*-fstype:filesystem type:(ufs 4.2 4.3 nfs tmp mfs S51K S52K)' \ In the case of this specific issue, should we maybe factor the filesystem completion out of _mount into a new _filesystems that can also be used here? > It seemed that this would be a new use for zstyle, and people might > have some comments wrt using zstyle to define the completion rather > than just modifying the behavior of completion. We should be careful how we document this. It should be a way of tweaking available completions to fake extra matches and should not be a substitute for writing functions. > * A completer for printf format strings using the "%" string. I think > the real benefit would be the ability to see documentation for > the different format characters. Yes it would be useful but perhaps a little messy to implement. I thought about doing printf completion for printf as opposed to find which is less useful. I suspect that this might be a good place to use _regex_arguments but I've yet to look in any detail. Oliver _____________________________________________________________________ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit http://www.messagelabs.com/stats.asp