zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _a2ps completion
Date: Tue, 18 Jan 2000 09:08:08 +0100 (MET)	[thread overview]
Message-ID: <200001180808.JAA22356@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Clint Adams's message of Mon, 17 Jan 2000 10:28:38 -0500


Clint Adams wrote:

> I have been informed that a2ps can be just as useful on PostScript
> files as any other file, and that *.(#i)(ps|eps) should not be
> excluded from completion.  Perhaps a context-based switch would
> be more appropriate.
> ...
> -_arguments '*:text file:_files -g \*\~\*.\(\#i\)\(ps\|eps\)' -- \
> +_arguments '*:input file:_files' -- \

I'm against this change. Very much so. At least in this form.

There are two acceptable possibilities I can see:

- use the patch and suggest (where?) that people who don't want to see 
  the ps files use

    zstyle ':completion:*::a2ps:*' ignored-patterns '*.(#i)(ps|eps)'

  or

- don't use the patch and document (at the top of _a2ps?) that people
  who want to complete all files should RTM and use the standard
  mechanism of the tag-order style:

    zstyle ':completion:*::a2ps:*' tag-order all-files

  cause that's what it's there for, dammit.

I'm very much in favour of the second suggestion because I guess that
only few people want to use a2ps on postscript files and using
completion on a prefix where no non-postscript file matches gives one
postscript files as matches anyway (that's why we use _files, after
all).


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2000-01-18  9:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-18  8:08 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-19 16:16 Sven Wischnowsky
2000-01-18 13:17 Sven Wischnowsky
2000-01-18 20:00 ` Peter Stephenson
2000-01-18 12:06 Sven Wischnowsky
2000-01-18 11:30 Sven Wischnowsky
2000-01-18 11:46 ` Zefram
2000-01-18 11:50 ` Akim Demaille
2000-01-18 11:00 Akim Demaille
2000-01-18 11:32 ` Akim Demaille
2000-01-18 10:17 Sven Wischnowsky
2000-01-17 15:28 Clint Adams

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=200001180808.JAA22356@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).