From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6874 invoked from network); 10 Jun 2005 14:13:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Jun 2005 14:13:09 -0000 Received: (qmail 16148 invoked from network); 10 Jun 2005 14:13:04 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jun 2005 14:13:04 -0000 Received: (qmail 1217 invoked by alias); 10 Jun 2005 14:12:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21321 Received: (qmail 1193 invoked from network); 10 Jun 2005 14:12:58 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jun 2005 14:12:58 -0000 Received: (qmail 15512 invoked from network); 10 Jun 2005 14:12:58 -0000 Received: from grunt24.ihug.com.au (203.109.249.144) by a.mx.sunsite.dk with SMTP; 10 Jun 2005 14:12:52 -0000 Received: from 203-217-73-160.dyn.iinet.net.au (localhost.localdomain) [203.217.73.160] by grunt24.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1DgkFa-0000mu-00; Sat, 11 Jun 2005 00:12:47 +1000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id j5AE7LiV011760 for ; Sat, 11 Jun 2005 00:07:23 +1000 Received: (from doug@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id j5AE70HW011755 for zsh-workers@sunsite.dk; Sat, 11 Jun 2005 00:07:00 +1000 X-Authentication-Warning: localhost.localdomain: doug set sender to dougkearns@gmail.com using -f Date: Sat, 11 Jun 2005 00:07:00 +1000 From: Doug Kearns To: zsh-workers@sunsite.dk Subject: PATCH: antiword completion update Message-ID: <20050610140700.GC6211@localhost.localdomain> Mail-Followup-To: zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_WEB autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Here's an update for antiword 0.36 Regards, Doug Index: Completion/Unix/Command/_antiword =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_antiword,v retrieving revision 1.3 diff -u -r1.3 _antiword --- Completion/Unix/Command/_antiword 29 Feb 2004 01:47:24 -0000 1.3 +++ Completion/Unix/Command/_antiword 10 Jun 2005 11:06:33 -0000 @@ -1,17 +1,23 @@ #compdef antiword -# Version: 0.35 (14 Nov 2003) +# Version: 0.36.1 (09 Dec 2004) + +local papersizes + +papersizes=( 10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid ) _arguments -s -S \ - '(-i -L -p -x)-t[text output (default)]' \ - '(-t -w -x)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \ - '(-i -L -p -t -w)-x[XML output]:DTD:(db)' \ - '-m+[character mapping file]:mapping file:_files' \ - '(-i -L -p -x)-w+[width in characters of text output]:line width:' \ - '(-t -w -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \ - '(-t -w -x)-L[use landscape mode (PostScript only)]' \ + '( -w -f -p -t -x)-a+[Adobe PDF output]:paper size:(${papersizes[@]})' \ + '(-i -L -a -p -t -x)-f[formatted text output]' \ + '( -w -a -f -t -x)-p+[PostScript output]:paper size:(${papersizes[@]})' \ + '(-i -L -a -f -p -x)-t[text output (default)]' \ + '(-i -L -m -w -a -f -p -t )-x+[XML output]:DTD:(db)' \ + '(-x)-m+[character mapping file]:mapping file:_files' \ + '(-i -L -a -p -x)-w+[width in characters of text output]:line width:' \ + '(-w -f -t -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \ + '(-w -f -t -x)-L[use landscape mode (PostScript only)]' \ '-s[show hidden (by Word) text]' \ - '(* -)-h[give a help message]' \ + '(- *)-h[display help information]' \ '*:MS Word file:_files -g "*.doc(-.)"' && return return 1