From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk, 303278-forwarded@bugs.debian.org
Subject: Re: Bug#303278: zsh: completions for gv are for pre 3.6
Date: Tue, 5 Apr 2005 15:06:16 -0400 [thread overview]
Message-ID: <20050405190616.GA24705@scowler.net> (raw)
In-Reply-To: <E1DIsyg-0002EX-S2@soup>
> The completion for gv (functions/Completion/X/_gv) uses the pre-3.6
> single dash command line arguments rather than the new POSIX-like
> syntax used (with two dashes) in 3.6. The easiest way to detect
Is it worth it to check which version of gv is in use?
Index: Completion/X/Command/_gv
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_gv,v
retrieving revision 1.1
diff -u -r1.1 _gv
--- Completion/X/Command/_gv 2 Apr 2001 12:13:49 -0000 1.1
+++ Completion/X/Command/_gv 5 Apr 2005 19:03:58 -0000
@@ -1,39 +1,42 @@
-#compdef gv gview
+#compdef gv
-_xt_arguments \
- '(-nosafer)-safer' \
- '(-safer)-nosafer' \
- '(-noquiet)-quiet' \
- '(-quiet)-noquiet' \
- '(-nocenter)-center' \
- '(-center)-nocenter' \
- '(-noswap)-swap' \
- '(-swap)-noswap' \
- '(-noantialias)-antialias' \
- '(-antialias)-noantialias' \
- '(-nodsc)-dsc' \
- '(-dsc)-nodsc' \
- '(-noeof)-eof' \
- '(-eof)-noeof' \
- '(-nopixmap)-pixmap' \
- '(-pixmap)-nopixmap' \
- '(-nowatch)-watch' \
- '(-watch)-nowatch' \
- '(-noresize)-resize' \
- '(-resize)-noresize' \
- '(-grayscale -color)-monochrome' \
- '(-monochrome -color)-grayscale' \
- '(-grayscale -color)-monochrome' \
- '(-landscape -seascape -upsidedown)-portrait' \
- '(-portrait -seascape -upsidedown)-landscape' \
- '(-portrait -landscape -upsidedown)-seascape' \
- '(-portrait -landscape -seascape)-upsidedown' \
- -{h,help,v,spartan} \
- '-arguments:ghostscript arguments:' \
- '-page:label of first page:' \
- '-media:page size:(Letter Legal Statement Tabloid Ledger Folio Quarto 10x14 Executive A3 A4 A5 B4 B5)' \
- '-scale:scale entry:' \
- '-scalebase:scale base:' \
- '-ad:resource file:_files' \
- '-style:resource file:_files' \
- '*:file: _pspdf -z'
+_arguments \
+ '-geometry:geometry:_x_geometry' \
+ '(--nosafer)--safer' \
+ '(--safer)--nosafer' \
+ '(--noquiet)--quiet' \
+ '(--quiet)--noquiet' \
+ '(--nocenter)--center' \
+ '(--center)--nocenter' \
+ '(--noswap)--swap' \
+ '(--swap)--noswap' \
+ '(--noantialias)--antialias' \
+ '(--antialias)--noantialias' \
+ '(--nodsc)--dsc' \
+ '(--dsc)--nodsc' \
+ '(--noeof)--eof' \
+ '(--eof)--noeof' \
+ '(--nopixmap)--pixmap' \
+ '(--pixmap)--nopixmap' \
+ '(--nowatch)--watch' \
+ '(--watch)--nowatch' \
+ '(--noresize)--resize' \
+ '(--resize)--noresize' \
+ '(--grayscale --color)--monochrome' \
+ '(--monochrome --color)--grayscale' \
+ '(--grayscale --color)--monochrome' \
+ '(--landscape --seascape --upsidedown)--portrait' \
+ '(--portrait --seascape --upsidedown)--landscape' \
+ '(--portrait --landscape --upsidedown)--seascape' \
+ '(--portrait --landscape --seascape)--upsidedown' \
+ --{help,spartan} \
+ -{h,v} \
+ '--arguments=:ghostscript arguments:' \
+ '--page=:label of first page:' \
+ '--media=:page size:(Letter Legal Statement Tabloid Ledger Folio Quarto 10x14 Executive A3 A4 A5 B4 B5)' \
+ '--orientation=:orientation:' \
+ '--scale=:scale entry:' \
+ '--scalebase=:scale base:' \
+ '--ad=:resource file:_files' \
+ '--style=:resource file:_files' \
+ '*:file: _pspdf --z'
next parent reply other threads:[~2005-04-05 19:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1DIsyg-0002EX-S2@soup>
2005-04-05 19:06 ` Clint Adams [this message]
2005-04-06 8:27 ` Oliver Kiddle
2005-04-06 15:29 ` Clint Adams
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=20050405190616.GA24705@scowler.net \
--to=schizo@debian.org \
--cc=303278-forwarded@bugs.debian.org \
--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).