zsh-workers
 help / color / mirror / code / Atom feed
From: "Wischnowsky, Sven" <Sven.Wischnowsky@t-systems.de>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: _file_systems & Re: zstyle for _arguments feature request
Date: Tue, 11 Dec 2001 16:38:54 +0100	[thread overview]
Message-ID: <7D865FB0D0A1D5118B6E000347055BBB1484A7@G9JNT.mgb01.telekom.de> (raw)


Oliver wrote:

> ...
> 
> You mean ignored-patterns right?

Ahem, right :-}

> ...
> 
> I suggest we just try something and see how it goes. Locating it in
> _description might work, assuming that the tag is in the 
context when
> the style is looked up. It might be a bit strange where 
more than one
> compadd is used to add matches.

Yes.

> ...
> 
> I'm not sure I like that much. We'd just end up with a 
style syntax for
> _generic growing into a compctl like thing. And, we'd find ourself
> having to graft much of this syntax onto every function.

Yes, that's what I want to avoid.

> Another method that might make things a little easier for 
> user's unsure
> about writing whole functions would be to allow simple one line
> completions to be defined thusly:
> 
> compdef '_files -g "*.c"' lcc
> compdef 'compadd one two three' count
> 
> It might be generally useful to allow arguments in the values of
> _comps anyway.

I quite like that idea, doesn't look too hard to implement (that's
me, trying to go through the completion system code in my brain,
sitting in front of this Windows box; but the linux install on my
new machine will be done in a few minutes and then I only need the
network patched and a cable to not feel castrated anymore ;-).

Bye
  Sven


             reply	other threads:[~2001-12-11 15:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11 15:38 Wischnowsky, Sven [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-22  2:35 Felix Rosencrantz
2002-01-28 16:37 ` Sven Wischnowsky
2002-01-09  7:19 Felix Rosencrantz
2002-01-10 13:46 ` Sven Wischnowsky
2002-01-14 12:34   ` Oliver Kiddle
2002-01-18  8:47     ` Sven Wischnowsky
2002-01-08  6:26 Felix Rosencrantz
2002-01-08  8:26 ` Sven Wischnowsky
2001-12-11 15:24 Oliver Kiddle
2002-01-07 14:45 ` Sven Wischnowsky
2002-01-07 14:47 ` Sven Wischnowsky
2002-01-07 16:06   ` Oliver Kiddle
2002-01-21 16:09     ` Sven Wischnowsky

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=7D865FB0D0A1D5118B6E000347055BBB1484A7@G9JNT.mgb01.telekom.de \
    --to=sven.wischnowsky@t-systems.de \
    --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).