From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26954 invoked from network); 29 Jul 2007 14:42:41 -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; 29 Jul 2007 14:42:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 75258 invoked from network); 29 Jul 2007 14:42:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Jul 2007 14:42:32 -0000 Received: (qmail 19597 invoked by alias); 29 Jul 2007 14:42:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23720 Received: (qmail 19579 invoked from network); 29 Jul 2007 14:42:29 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Jul 2007 14:42:29 -0000 Received: (qmail 74879 invoked from network); 29 Jul 2007 14:42:28 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 29 Jul 2007 14:42:25 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 9DACB5C78A; Sun, 29 Jul 2007 10:42:23 -0400 (EDT) Date: Sun, 29 Jul 2007 10:42:23 -0400 From: Clint Adams To: 434879@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#434879: zsh: Incorrect completion after "dvips -Ppdf " Message-ID: <20070729144223.GA16410@scowler.net> 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> <20070728095654.GP6654@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070728095654.GP6654@prunille.vinc17.org> User-Agent: Mutt/1.5.16 (2007-06-11) On Sat, Jul 28, 2007 at 11:56:54AM +0200, Vincent Lefevre wrote: > 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). Er, and Index: Completion/Unix/Command/_dvi =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_dvi,v retrieving revision 1.5 diff -u -r1.5 _dvi --- Completion/Unix/Command/_dvi 29 Jul 2007 11:39:43 -0000 1.5 +++ Completion/Unix/Command/_dvi 29 Jul 2007 14:41:23 -0000 @@ -39,7 +39,7 @@ '-O[specify offset of origin]:offset of origin (,)' \ '(-p -l -n)-pp[specify which pages to print]:list of pages or ranges to print:' \ '(-pp)-p[specify first page to print]:number of first page' \ - '-P[specify printer]:printer name' \ + '-P+[specify printer]:printer name' \ '-q[quiet operation]' \ '-r[reverse order of pages]' \ '-R[run securely]' \