From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19285 invoked from network); 11 Jan 2000 18:32:06 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Jan 2000 18:32:06 -0000 Received: (qmail 29065 invoked by alias); 11 Jan 2000 18:31:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9293 Received: (qmail 29058 invoked from network); 11 Jan 2000 18:31:58 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: _path_files -g In-reply-to: "Sven Wischnowsky"'s message of "Tue, 11 Jan 2000 09:48:37 +0100." <200001110848.JAA26633@beta.informatik.hu-berlin.de> Date: Tue, 11 Jan 2000 18:34:02 +0000 From: Peter Stephenson Message-Id: Sven Wischnowsky wrote: > I'd like to ask again if we should make the completion system *not* > use $fignore any more -- everything it can do can also be done with > the ignored-suffixes style. No, because it would annoy people, such as me. I can't see any any real advantage in dispensing with it after so long. It exists in other shells, too. > Also, we could think about making this more powerful. E.g. we could > make compadd use the strings it gets with the -F option as patterns so > that we are not restricted to only suffixes (although the suffix test > is faster, of course, but we could still handle simple patterns of the > form `*' in the same way we use those strings now). And we could > make those patterns be used for all types of matches and turn the > ignored-suffixes style into a ignored-strings style that is set in > _description. Would be quite simple, actually. An ignored-patterns (probably better than ignored-strings) style would be useful. It could sensible replace ignored-suffixes, but we should still maintain $fignore for compatibility, if necessary quoting the suffixes and sticking a `*' in front, which is trivial. -- Peter Stephenson