all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33344: 26.1; doc-view bounding-box recognition doesn't work on path names with spaces
@ 2018-11-11 11:36 Robert Spillner
  2018-11-12 21:36 ` Glenn Morris
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Spillner @ 2018-11-11 11:36 UTC (permalink / raw)
  To: 33344

Hi,

in doc-view.el, line 1215, ghostscript is called via shell to grep the
bounding box of a ps or pdf-file. In line 1218, the last %s
(representing the filename) is used unquoted. Therefore, whenever the
filename or the directory pointing to this file has spaces in its name
gs won't be able to find it and determine a bounding box.

Please change line 1218 from

  (format "-dFirstPage=%s -dLastPage=%s %s"

to

  (format "-dFirstPage=%s -dLastPage=%s \"%s\""

Thank you!







^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-26 12:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11 11:36 bug#33344: 26.1; doc-view bounding-box recognition doesn't work on path names with spaces Robert Spillner
2018-11-12 21:36 ` Glenn Morris
2018-11-13 17:08   ` Eli Zaretskii
2018-11-13 18:12     ` Glenn Morris
2018-11-13 19:24       ` Eli Zaretskii
2018-11-14 18:14         ` Glenn Morris
2018-11-14 19:29           ` Eli Zaretskii
2018-11-22 23:47   ` Robert Spillner
2020-08-26 12:38     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.