[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30063: 26.0.90; Silent fail with `rst-compile-pdf-preview'
From: |
Lars Ingebrigtsen |
Subject: |
bug#30063: 26.0.90; Silent fail with `rst-compile-pdf-preview' |
Date: |
Sun, 29 Sep 2019 14:09:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Simen Heggestøyl <simenheg@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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#30063: 26.0.90; Silent fail with `rst-compile-pdf-preview',
Lars Ingebrigtsen <=