From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4238 invoked from network); 18 Jan 2000 13:17:39 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Jan 2000 13:17:39 -0000 Received: (qmail 16950 invoked by alias); 18 Jan 2000 13:17:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9352 Received: (qmail 16942 invoked from network); 18 Jan 2000 13:17:34 -0000 Date: Tue, 18 Jan 2000 14:17:33 +0100 (MET) Message-Id: <200001181317.OAA01304@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Zefram's message of Tue, 18 Jan 2000 11:46:00 +0000 (GMT) Subject: Re: PATCH: _a2ps completion [ Akim not CC'ed, this is zsh-internal. ] Zefram wrote: > Sven Wischnowsky wrote: > >Ok, I wasn't aware of the possibilities of *newer versions* of GNU > >a2ps. So I change my statement to: I'm very much against completing > >all files unconditionally. We should do that only if the a2ps is a > >newer GNU version that supports automatic conversion and whatnot. Ok? > > I too didn't know a2ps had changed to do this stuff. Considering > only older versions, I'm still in favour of completing all files > unconditionally. PostScript (and HTML, and TeX) files are perfectly > valid text files, and therefore perfectly valid subjects for all commands > that deal with text files, including a program that renders plain text > in PostScript. I can't stop thinking about this... The advantage of using a glob-pattern over using ignored-patterns is the automatic fall back first on only directories and then all files (or whatever you have configured). Is this a valid reason to add a `glob-pattern' (or `file-pattern') style that is tested in _files and used to replace a function-supplied pattern if there is any or to make _files use the pattern even if he calling function did not use -g? Or is this a case of `if you want that behaviour, copy and modify the completion function'? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de