From: Vincent Lefevre <vincent@vinc17.org>
To: 434879@bugs.debian.org, zsh-workers@sunsite.dk
Subject: Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf "
Date: Sat, 28 Jul 2007 11:56:54 +0200 [thread overview]
Message-ID: <20070728095654.GP6654@prunille.vinc17.org> (raw)
In-Reply-To: <20070727212541.GA10242@scowler.net>
On 2007-07-27 17:25:41 -0400, Clint Adams wrote:
> On Fri, Jul 27, 2007 at 10:49:29PM +0200, Vincent Lefevre wrote:
> > I don't understand your question. If you mean grouping options in a
> > single argument, this doesn't seem to be possible. But dvips behaves
> > strangely:
>
> Try changing "_arguments -s" to "arguments -s -w". That might do the
> right thing, though I'm still not clear on how dvips parses the command
> line.
I've tried "_arguments -s -w", but this is even worse.
Both "dvips -P[Tab]" and "dvips -P [Tab]" should complete on the
printer names, but "dvips -Pfoo" and "dvips -P foo" should complete
on the dvi files (or another option).
"dvips -j[Tab]" should add a space, because the -j option doesn't
take any data.
"dvips -j [Tab]" should complete on the dvi files (or another option).
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
next prev parent reply other threads:[~2007-07-28 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070727133050.GA7151@vin.lip.ens-lyon.fr>
2007-07-27 15:16 ` Clint Adams
2007-07-27 20:49 ` Vincent Lefevre
2007-07-27 21:25 ` Clint Adams
2007-07-28 9:56 ` Vincent Lefevre [this message]
2007-07-29 14:42 ` Clint Adams
2007-07-29 11:26 ` 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=20070728095654.GP6654@prunille.vinc17.org \
--to=vincent@vinc17.org \
--cc=434879@bugs.debian.org \
--cc=zsh-workers@sunsite.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).