zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Clint Adams <schizo@debian.org>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _x_arguments too broad
Date: Mon, 21 Feb 2000 18:54:18 +0000	[thread overview]
Message-ID: <38B189DA.55FD4378@u.genie.co.uk> (raw)
In-Reply-To: <20000221132831.E23999@dman.com>

Clint Adams wrote:
> 
> zsh 433 % /usr/bin/X11/imake <TAB>-display
> -display    -geometry
> 
> Not very useful.  OTOH, /usr/openwin/bin/imake will
> complete files, which is perhaps more desirable in

It may not be useful but it does offer files aswell so isn't doing any
great harm, especially for people like me who have their styles
configured to only complete options after an initial prefix.

> this instance.  Since not every binary in */X11/*
> is going to take -display and -geometry, and most
> are likely to take other arguments, a better solution
> is needed.

Maybe a better solution is needed but your patch doesn't offer such a
solution. I would prefer that it is not included because the vast
majority of programs in */X11/* do take -display and it is useful to be
able to complete it. If there is a particular program where it is
annoying you such as imake, you can always write a custom completion for
it. The */X11/* is in my opinion better than having a huge list of
programs after #compdef in _x_arguments.

Oliver Kiddle


  reply	other threads:[~2000-02-21 18:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-21 18:28 Clint Adams
2000-02-21 18:54 ` Oliver Kiddle [this message]
2000-02-22  9:00 Sven Wischnowsky
2000-02-22 17:55 ` 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=38B189DA.55FD4378@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=schizo@debian.org \
    --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).