From: Haakon Riiser <haakon.riiser@fys.uio.no>
To: zsh-workers@sunsite.dk
Subject: 3rd repost: _acroread completer updated for acroread 8.1.1
Date: Thu, 21 Feb 2008 16:23:15 +0100 [thread overview]
Message-ID: <20080221152315.GA15844@fox> (raw)
In-Reply-To: <20080128004505.GA19261@fox>
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
next prev parent reply other threads:[~2008-02-21 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 0:45 Haakon Riiser
2008-02-10 22:12 ` Haakon Riiser
2008-02-21 15:23 ` Haakon Riiser [this message]
2008-02-21 16:08 ` 3rd repost: " Peter Stephenson
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=20080221152315.GA15844@fox \
--to=haakon.riiser@fys.uio.no \
--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).