Subject: Wrong Ghostscript program name on MS Win

From: Sebastian Urban <[email-masked]>
Date: Mon, 24 Jun 2019 18:04:41 +0200

Variable 'doc-view-ghostscript-program' has value - 'gs' - which is OK
for Unix and VMS, but NOT OK for MS Windows.  It should be 'gswin32c'.
For details look at the table in "How to Use Ghostscript", chapter
"2.1 Help at the command line: gs -h".

Perhaps it should be done as list of choice, like in case of
'tex-dvi-view-command'?

Or as S. Monnier wrote: "(...) the default could simply
(executable-find "gs") and (executable-find "gswin32c") and use
whichever was found (...)".

Also the same table says 'gsos2' for OS/2 systems.

S. U.

In GNU Emacs 26.2 (build 1, i686-w64-mingw32)
  of 2019-04-13 built on CIRROCUMULUS
Repository revision: fd1b34bfba8f3f6298df47c8e10b61530426f749
Windowing system distributor 'Microsoft Corp.', version 6.1.7601