zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _path_files -g
Date: Tue, 11 Jan 2000 18:34:02 +0000	[thread overview]
Message-ID: <E12865E-000687-00.2000-01-11-18-31-57@mail1.svr.pol.co.uk> (raw)
In-Reply-To: "Sven Wischnowsky"'s message of "Tue, 11 Jan 2000 09:48:37 +0100." <200001110848.JAA26633@beta.informatik.hu-berlin.de>

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 `*<str>' 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 <pws@pwstephenson.fsnet.co.uk>


  reply	other threads:[~2000-01-11 18:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-11  8:48 Sven Wischnowsky
2000-01-11 18:34 ` Peter Stephenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-13  8:52 Sven Wischnowsky
2000-01-12 15:27 Sven Wischnowsky
2000-01-12 15:25 Sven Wischnowsky
2000-01-12 21:03 ` Tanaka Akira
2000-01-09 18:44 Peter Stephenson

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=E12865E-000687-00.2000-01-11-18-31-57@mail1.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --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).