From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: DocView: process ps->pdf changed status to killed. Date: Fri, 03 Oct 2014 20:34:41 +0200 Message-ID: <8738b56lz2.fsf@thinkpad-t440p.tsdh.org> References: <20141001.190611.1940944016074602079.devel@pollock-nageoire.net> <87mw9eg44e.fsf@thinkpad-t440p.tsdh.org> <20141003.170920.1411034292687428339.devel@pollock-nageoire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412361324 18153 80.91.229.3 (3 Oct 2014 18:35:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2014 18:35:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Pierre Lorenzon Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 20:35:14 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xa7hA-0005mb-9T for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2014 20:35:12 +0200 Original-Received: from localhost ([::1]:40851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xa7h9-0001fn-Se for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2014 14:35:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xa7gr-0001ev-4D for help-gnu-emacs@gnu.org; Fri, 03 Oct 2014 14:34:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xa7gm-0008BW-0O for help-gnu-emacs@gnu.org; Fri, 03 Oct 2014 14:34:53 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xa7gl-0008BR-SN for help-gnu-emacs@gnu.org; Fri, 03 Oct 2014 14:34:47 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by gateway2.nyi.internal (Postfix) with ESMTP id 8835F2029B for ; Fri, 3 Oct 2014 14:34:47 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 03 Oct 2014 14:34:47 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:references :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=SjDTTDUrZn5YGzkrLBT/oC/rADc=; b=HmcCQvbDS4gf6yumMj4M VoJQyGRcNzPSn3VWPmiB5aYbxWHyvpuvgdbte5VFG6iea7toaSHXuojQ+RGFYPjO +pG8pY/MXbayIZjEAia+S+6DbXFuVZ4JhvEbA2uKceOJpNIDbSm9UKZMzZ4L/+zY IcE/nv+Ar8KKjAHVkckapO0= X-Sasl-enc: 1b4WLl5Te5o5VjDGKxZWf8aipuVj/0EAwU+r05Piy0vy 1412361286 Original-Received: from thinkpad-t440p.tsdh.org (unknown [2.163.193.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 86350C00008; Fri, 3 Oct 2014 14:34:46 -0400 (EDT) In-Reply-To: <20141003.170920.1411034292687428339.devel@pollock-nageoire.net> (Pierre Lorenzon's message of "Fri, 03 Oct 2014 17:09:20 +0200 (CEST)") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100251 Archived-At: Pierre Lorenzon writes: Hi Pierre, > Command ps2pdf -dSAFER /home/devel/test.ps > /tmp/docview1001/test.ps-932911a0f86866e1b95b1aaf506a818b/doc.pdf > executed in a console works perfectly ... Ok, I've thought that. So it works on the command line but not from lisp. Could you please try evaluating this expression and tell us what it messages? (let ((process (start-process "ps2pdf conversion" "ps2pdf conversion output" "ps2pdf" "-dSAFER" "/home/devel/test.ps" "/tmp/docview1001/test.ps-932911a0f86866e1b95b1aaf506a818b/doc.pdf"))) (set-process-sentinel process #'(lambda (proc event) (message "Process: %s had the event `%s'" proc event)))) ;; C-x C-e here I guess it'll say something like Process: ps2pdf conversion had the event `killed ' which wouldn't give me more of a clue than I have right now, though. :-( Bye, Tassilo