GNU bug report logs - #30063
26.0.90; Silent fail with `rst-compile-pdf-preview'

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> gmail.com>

Date: Wed, 10 Jan 2018 13:58:01 UTC

Severity: minor

Found in version 26.0.90

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: stefan <at> merten-home.de, 30063 <at> debbugs.gnu.org
Subject: bug#30063: 26.0.90; Silent fail with `rst-compile-pdf-preview'
Date: Sun, 29 Sep 2019 14:09:06 +0200
Simen Heggestøyl <simenheg <at> gmail.com> writes:

> * lisp/textmodes/rst.el (rst-compile-pdf-preview): Warn about missing
> executables when attempting to compile and preview an RST file as PDF.
> (Bug#30218)

[...]

> +    (unless (executable-find pdf-compile-program)
> +      (error "Cannot find executable `%s'" pdf-compile-program))
> +    (unless (executable-find rst-pdf-program)
> +      (error "Cannot find executable `%s'" rst-pdf-program))

Others pointed out that it might be nice to report error messages back
from the pdf commands, and that's true, but I think this patch makes
sense, too, because it gives good, early feedback on a likely problem,
so I think it should be applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.