From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5736 invoked from network); 11 Dec 2001 15:39:16 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?SlEp3seIl0Om/aiiCLEGiW5XznIkWiUc?@203.24.36.3) by ns1.primenet.com.au with SMTP; 11 Dec 2001 15:39:16 -0000 Received: (qmail 3003 invoked from network); 11 Dec 2001 15:39:14 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 11 Dec 2001 15:39:14 -0000 Received: (qmail 4231 invoked by alias); 11 Dec 2001 15:39:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16321 Received: (qmail 4215 invoked from network); 11 Dec 2001 15:39:08 -0000 Message-Id: <7D865FB0D0A1D5118B6E000347055BBB1484A7@G9JNT.mgb01.telekom.de> From: "Wischnowsky, Sven" 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 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" 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