From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Felix Rosencrantz <f_rosencrantz@yahoo.com>
Cc: zsh-workers <zsh-workers@sunsite.dk>
Subject: Re: zstyle for _arguments feature request
Date: Fri, 07 Dec 2001 12:26:24 +0000 [thread overview]
Message-ID: <3C10B570.35567EEF@yahoo.co.uk> (raw)
In-Reply-To: <20011206201229.44546.qmail@web10405.mail.yahoo.com>
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
next prev parent reply other threads:[~2001-12-07 12:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-06 20:12 Felix Rosencrantz
2001-12-07 12:26 ` Oliver Kiddle [this message]
2001-12-10 23:24 ` Felix Rosencrantz
2001-12-11 12:35 Wischnowsky, Sven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C10B570.35567EEF@yahoo.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=f_rosencrantz@yahoo.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).