all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Spillner <trent2@web.de>
To: 33344@debbugs.gnu.org
Subject: bug#33344: 26.1; doc-view bounding-box recognition doesn't work on path names with spaces
Date: Sun, 11 Nov 2018 12:36:04 +0100	[thread overview]
Message-ID: <2721782.Y6SdopJXAr@calvin> (raw)

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!







             reply	other threads:[~2018-11-11 11:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11 11:36 Robert Spillner [this message]
2018-11-12 21:36 ` bug#33344: 26.1; doc-view bounding-box recognition doesn't work on path names with spaces 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

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=2721782.Y6SdopJXAr@calvin \
    --to=trent2@web.de \
    --cc=33344@debbugs.gnu.org \
    /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 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.