From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27531 invoked from network); 28 Jul 2007 09:57:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Jul 2007 09:57:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 33341 invoked from network); 28 Jul 2007 09:57:00 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Jul 2007 09:57:00 -0000 Received: (qmail 4052 invoked by alias); 28 Jul 2007 09:56:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23715 Received: (qmail 4043 invoked from network); 28 Jul 2007 09:56:58 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 Jul 2007 09:56:58 -0000 Received: (qmail 33123 invoked from network); 28 Jul 2007 09:56:58 -0000 Received: from vinc17.pck.nerim.net (HELO prunille.vinc17.org) (213.41.242.187) by a.mx.sunsite.dk with SMTP; 28 Jul 2007 09:56:55 -0000 Received: by prunille.vinc17.org (Postfix, from userid 501) id B4BCE1763F67; Sat, 28 Jul 2007 11:56:54 +0200 (CEST) Date: Sat, 28 Jul 2007 11:56:54 +0200 From: Vincent Lefevre To: 434879@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf " Message-ID: <20070728095654.GP6654@prunille.vinc17.org> Mail-Followup-To: 434879@bugs.debian.org, zsh-workers@sunsite.dk References: <20070727133050.GA7151@vin.lip.ens-lyon.fr> <20070727151602.GA1059@scowler.net> <20070727204929.GL6654@prunille.vinc17.org> <20070727212541.GA10242@scowler.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070727212541.GA10242@scowler.net> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.16-vl-r18246 (2007-07-10) 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 - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)