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: _arguments
Date: Wed, 14 Jun 2000 08:53:53 +0200 (MET DST)	[thread overview]
Message-ID: <200006140653.IAA02555@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Clint Adams's message of Tue, 13 Jun 2000 13:47:27 -0400


Clint Adams wrote:

> [sunsite.auc.dk seems to be oppressing me as it did Sven]

I just noticed that someone was so kind to put the X-Seq numbers for
my patches in the ChangeLog... thanks!

> >   If anyone sees weird results when completing options from multiple
> >   sets, please tell me.
> 
> I've committed changes to _dpkg.  Everything seems to work except for
> the install|record_avail case, in which case zsh will complete nothing.
> Did I misunderstand something?

The `-A -*' doesn't mean that it complete ignores all unknown strings
starting with a hyphen, it just means that it doesn't stop completing
options if it finds undescribed `-foo's.

So, you still have to give it the `--{install,...}' to make it ignore
it. Or you use the `= ' trick together with the `::' trick, as in:

           '(-i)--install:*::Debian packages:= ->install' \

Then you can leave the other stuff alone (as long as you don't need to 
react to the presence/absence of options that might be before the
`--install', which, hm, I think you have (the exclusion lists), hm ...).

Bye
 Sven


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


             reply	other threads:[~2000-06-14  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-14  6:53 Sven Wischnowsky [this message]
2000-06-14 14:01 ` Clint Adams
  -- strict thread matches above, loose matches on Subject: below --
2000-06-14 14:42 Sven Wischnowsky
2000-06-13 12:07 Sven Wischnowsky
2000-06-13 17:47 ` Clint Adams
2000-01-28  9:02 Sven Wischnowsky

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=200006140653.IAA02555@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).