zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: New _read and selective parameter completion
Date: Thu, 10 Aug 2000 09:08:51 +0200 (MET DST)	[thread overview]
Message-ID: <200008100708.JAA08916@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Oliver Kiddle's message of Wed, 09 Aug 2000 21:10:51 +0100


Oliver Kiddle wrote:

> This adds an _arguments based completion function for read. I don't think
> we have too many builtins left where conversion to use _arguments would
> still be useful. Any requests?       
> 
> I thought about modifying _vars to insert the '[' for arrays and
> associations but _parameters would first need to be given an option to
> make it only complete specific types of parameter. Would anyone object
> to my adding this? I was thinking of a -g option (analogous to the -g
> option of _files) where the pattern specified would be augmented with
> ~*local* and used to match the values in the $parameters association.
> 
> I mentioned this vaguely before in 11284 and Sven had some good ideas
> in his reply (11293). The focus there is more towards having the
> patterns configurable via a style similar to the file-patterns tag but
> my suggested option would I think be a useful first step.

Yes. The other stuff can be added later.

I'd be happy if we were able to use _parameters in all places where
parameters are completed (e.g. in _arrays), just as we use _files now.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2000-08-10  7:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-10  7:08 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-08-09 20:10 Oliver Kiddle
2000-08-14  7:08 ` Andrej Borsenkow

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=200008100708.JAA08916@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).