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: Noam Postavsky <npostavs <at> users.sourceforge.net>
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, 28 Jan 2018 13:11:34 -0500
Simen Heggestøyl <simenheg <at> gmail.com> writes:

>  	 (command (format "%s %s %s && %s %s ; rm %s"
> +			  pdf-compile-program
>  			  buffer-file-name tmp-filename
>  			  rst-pdf-program tmp-filename tmp-filename)))
> +    (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))

It's possible to have PATH and exec-path desynchronized, such that the
above code could throw an error even though the
start-process-shell-command call later would succeed.  Maybe we should
should just consider that a misconfiguration on the user's part though.




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

Previous Next


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