Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#458422: /usr/share/zsh/4.3.4/functions/Completion/X/_xpdf needs improvement



On Mon, Dec 31, 2007 at 07:54:50AM +0100, Dr. Markus Waldeck wrote:
> There are some options missing:
> -title
> -rv
> -display
> -fg
> -bg
> -font

I beg to differ; have you tried completing them? They should be covered
by _xt_arguments.

> -mattecolor

This seems to be in the man page but is missing from the xpdf --help
output.

> -cont
> -aaVector
> -exec

Some enterprising person could write completion for the possible
commands to be passed to -exec.

> The completion does not select any PDF file if an option is selected.

I also cannot reproduce this.

Index: Completion/X/Command/_xpdf
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_xpdf,v
retrieving revision 1.1
diff -u -r1.1 _xpdf
--- Completion/X/Command/_xpdf	11 Apr 2005 18:13:20 -0000	1.1
+++ Completion/X/Command/_xpdf	31 Dec 2007 15:54:58 -0000
@@ -4,11 +4,15 @@
   '-g[initial window geometry]:geometry:_x_geometry' \
   '-cmap[install a private colormap]' \
   '-rgb[biggest RGB cube to allocate]:int:' \
+  '-mattecolor[color of background outside page area]:color:' \
   '-papercolor[color of paper background]:color:' \
   '-z[initial zoom level]:zoom level:' \
   '-t1lib[enable t1lib font rasterizer]:bool:(yes no)' \
   '-freetype[enable FreeType font rasterizer]:bool:(yes no)' \
   '-aa[enable font anti-aliasing]:bool:(yes no)' \
+  '-aaVector[enable vector anti-aliasing]:bool:(yes no)' \
+  '-cont[start in continuous view mode]' \
+  '-exec[execute command on xpdf remote server]:command:' \
   '-ps[default PostScript file name or command]:file or command:_files' \
   '-paper[paper size]:paper size:(letter legal A4 A3 match)' \
   '-paperw[paper width]:points:' \



Messages sorted by: Reverse Date, Date, Thread, Author