From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#30063: 26.0.90; Silent fail with `rst-compile-pdf-preview' Date: Sun, 28 Jan 2018 13:11:34 -0500 Message-ID: <87k1w1lup5.fsf@users.sourceforge.net> References: <87o9m14y0x.fsf@gmail.com> <1517054395.9954.0@smtp.gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1517163036 20016 195.159.176.226 (28 Jan 2018 18:10:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Jan 2018 18:10:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: stefan@merten-home.de, 30063@debbugs.gnu.org To: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 28 19:10:32 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrP7-0003YJ-ER for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jan 2018 19:10:09 +0100 Original-Received: from localhost ([::1]:52984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efrR7-00069F-Vq for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jan 2018 13:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efrQz-00068U-5U for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efrQw-0005wX-0s for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:12:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efrQv-0005wQ-Sb for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:12:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efrQv-0006Or-Kq for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jan 2018 18:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30063-submit@debbugs.gnu.org id=B30063.151716310424577 (code B ref 30063); Sun, 28 Jan 2018 18:12:01 +0000 Original-Received: (at 30063) by debbugs.gnu.org; 28 Jan 2018 18:11:44 +0000 Original-Received: from localhost ([127.0.0.1]:46442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrQe-0006OL-3t for submit@debbugs.gnu.org; Sun, 28 Jan 2018 13:11:44 -0500 Original-Received: from mail-io0-f179.google.com ([209.85.223.179]:36648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrQc-0006O7-DC for 30063@debbugs.gnu.org; Sun, 28 Jan 2018 13:11:42 -0500 Original-Received: by mail-io0-f179.google.com with SMTP id l17so5273785ioc.3 for <30063@debbugs.gnu.org>; Sun, 28 Jan 2018 10:11:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=0MTXDBhksJUwVeWsp9h8fCRM58YgjskpspQh3Vj5GC0=; b=VEwlfF7ceV2uG5wilsvrpEgaSFz3JOlbgdapQvVv4/jGqWP8JyNoZ2N+qDESar94ie /zeyRqlVfsaip0lk4mS8NSr01rTOsiYdhktpsUkzBcp72Eu9U9g64RTQyZ/GFHsE9EAq /a4XMNEpGoLwmohZIGyw1XXfNnyCp27+VIG0JhNBjnFW1HUgpb/t6BgY/ID6yZ1x15Yx GUpc19dRm0nbnS++NIhyxgCrNOIRVsGWNXcsboGxSQzt08IOKcw/MGIZYoD6SI38+tQO KBI1jnBKJNicc2lg36QCcyV+4bamrYj685qKCdW6RBlnbtr0nqDzxJIlD7KGOxtNS0p5 llzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=0MTXDBhksJUwVeWsp9h8fCRM58YgjskpspQh3Vj5GC0=; b=ip3Y6oxXsaOG1s0Ais6akp0vKem3JCmEvJHABN0iGdGPyS1JrykgoPtWS82F0ezX0n JnswMqbblwdP3DA4jwGJVBPp7YhviG66Y8nVMoMDA5NLS8LhwzxG6mApNFVpGSzdN0cL JMvx5zGKjcz8hGuhCKqZbzghY4p5iOGt8E400P21FQqfbYjOKu80BCvCJmsQz6F6ZyuC SUVD1E7bPoYdpuGIohTYLvUjOdBDh78G1IpuhUXUI17jhuMtQFbua7UvwODmPCu5edIg cOptFj8N1oft2INf1DNHk9EMGfl6UmrAGD5ZW14DkVnlXonuVMaIjBshUc6JIWT80AYU 5TpQ== X-Gm-Message-State: AKwxytfbYhVMmlO7puu+xNRmSaHVzkZ6/S830PaIuvplAbhZIoRRsLk4 mcJo5LXVsdALsbKKujjRL74= X-Google-Smtp-Source: AH8x227hsDf8Om3ExKaeUpPuTw9s8ir6otqR1d2I/gLEXINeqmIwRN1ljxFmCFTRAFq5amvyISesLQ== X-Received: by 10.107.97.18 with SMTP id v18mr22595672iob.7.1517163096759; Sun, 28 Jan 2018 10:11:36 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id o73sm6443196ito.4.2018.01.28.10.11.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Jan 2018 10:11:35 -0800 (PST) In-Reply-To: <1517054395.9954.0@smtp.gmail.com> ("Simen \=\?utf-8\?Q\?Heggest\?\= \=\?utf-8\?Q\?\=C3\=B8yl\=22's\?\= message of "Sat, 27 Jan 2018 12:59:55 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142613 Archived-At: Simen Heggest=C3=B8yl 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.