From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7974 invoked from network); 21 Feb 2008 15:23:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Feb 2008 15:23:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 3292 invoked from network); 21 Feb 2008 15:23:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Feb 2008 15:23:31 -0000 Received: (qmail 15798 invoked by alias); 21 Feb 2008 15:23:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24574 Received: (qmail 15778 invoked from network); 21 Feb 2008 15:23:26 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 21 Feb 2008 15:23:26 -0000 Received: from pat.uio.no (pat.uio.no [129.240.10.15]) by bifrost.dotsrc.org (Postfix) with ESMTP id 3C9518026E0B for ; Thu, 21 Feb 2008 16:23:18 +0100 (CET) Received: from mail-mx5.uio.no ([129.240.10.46]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1JSDGW-0003st-86 for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 16:23:16 +0100 Received: from smtp.uio.no ([129.240.10.9] helo=mail-mx5.uio.no) by mail-mx5.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1JSDGV-0002l8-QF for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 16:23:16 +0100 Received: from c85-196-100-202.static.sdsl.no ([85.196.100.202] helo=bigboss.venod.com) by mail-mx5.uio.no with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JSDGV-0002l4-MI for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 16:23:15 +0100 Received: from fox.venod.com ([10.0.0.4]) by bigboss.venod.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.62) (envelope-from ) id 1JSDGV-0005yi-DK for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 16:23:15 +0100 Received: from hakonrk by fox.venod.com with local (Exim 4.67) (envelope-from ) id 1JSDGV-00047s-Ah for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 16:23:15 +0100 Date: Thu, 21 Feb 2008 16:23:15 +0100 From: Haakon Riiser To: zsh-workers@sunsite.dk Subject: 3rd repost: _acroread completer updated for acroread 8.1.1 Message-ID: <20080221152315.GA15844@fox> References: <20080128004505.GA19261@fox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080128004505.GA19261@fox> User-Agent: Mutt/1.5.17 (2007-11-01) X-UiO-Resend: resent X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=5.0, autolearn=disabled, none) X-UiO-Scanned: 39FDDB95FB41A9E192F076457954CDE7774C6E2E X-UiO-SR-test: B416CADEFAEBF2AF159EBA6C045A4ED25880AA06 X-UiO-SPAM-Test: remote_host: 129.240.10.9 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 499 total 7009864 max/h 8345 blacklist 0 greylist 0 ratelimit 0 X-Virus-Scanned: ClamAV 0.91.2/5916/Thu Feb 21 14:54:45 2008 on bifrost X-Virus-Status: Clean Third time's the charm? (If you don't want this one, please let me know so that I can stop spamming the list.) > The changes between acroread 8.x and 7.x are really small: 8.x > supports -v as an alias for -version, plus two new options, > -man and -installCertificate. This patch also adds support > for -stampsOff and -markupsOn, which seem to have been added > somewhere between 7.0.0 and 7.0.9. Don't know exactly which > version introduced them, so this patch just adds them regardless > of which 7.x (or 8.x) version is used. > > Index: _acroread > =================================================================== > RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_acroread,v > retrieving revision 1.7 > diff -u -r1.7 _acroread > --- _acroread 1 Mar 2007 19:22:33 -0000 1.7 > +++ _acroread 28 Jan 2008 00:39:40 -0000 > @@ -26,8 +26,15 @@ > fi > fi > > -if [[ $_acroread_version == 7.* ]]; then > +if [[ $_acroread_version == [78].* ]]; then > + local -a extra_args > + if [[ $_acroread_version == 8.* ]]; then > + extra_args=(-man '-installCertificate:server ip::server port') > + else > + extra_args=() > + fi > _arguments -C \ > + "${extra_args[@]}" \ > '--display=:X display:_x_display' \ > '--screen=:X screen (overrides the screen part of DISPLAY)' \ > --sync \ > @@ -55,6 +62,8 @@ > '(-odd)-even' \ > -commentsOff \ > -annotsOff \ > + -stampsOff \ > + -markupsOn \ > '(-level3)-level2' \ > '(-level2)-level3' \ > -printerhalftones \ > > -- > Haakon