From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.help Subject: Re: DocView: process ps->pdf changed status to killed. Date: Sat, 04 Oct 2014 05:46:21 +0200 (CEST) Message-ID: <20141004.054621.763802124711265078.devel@pollock-nageoire.net> References: <87mw9eg44e.fsf@thinkpad-t440p.tsdh.org> <20141003.170920.1411034292687428339.devel@pollock-nageoire.net> <8738b56lz2.fsf@thinkpad-t440p.tsdh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1412394819 4335 80.91.229.3 (4 Oct 2014 03:53:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2014 03:53:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: tsdh@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 05:53:33 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 1XaGPU-0006fR-LS for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Oct 2014 05:53:32 +0200 Original-Received: from localhost ([::1]:42435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaGPU-0003Hc-2x for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2014 23:53:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaGPF-0003HV-Hx for help-gnu-emacs@gnu.org; Fri, 03 Oct 2014 23:53:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaGPA-0003U2-Hm for help-gnu-emacs@gnu.org; Fri, 03 Oct 2014 23:53:17 -0400 Original-Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:41287 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaGPA-0003To-Bq for help-gnu-emacs@gnu.org; Fri, 03 Oct 2014 23:53:12 -0400 Original-Received: from localhost ([92.140.83.106]) by mwinf5d45 with ME id yrtB1o0032HeclG03rtBCn; Sat, 04 Oct 2014 05:53:11 +0200 X-ME-Helo: localhost X-ME-Date: Sat, 04 Oct 2014 05:53:11 +0200 X-ME-IP: 92.140.83.106 In-Reply-To: <8738b56lz2.fsf@thinkpad-t440p.tsdh.org> X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.12.242.132 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:100261 Archived-At: Hi Tassilo I tried what I should have try from the beginning starting emacs with --no-site-file -q option. In this case your code works. So it's clear it's one of the multiple codes that are loadded by my emacs that disturbs your code. I am alone now to determine which one and why. Anyway thanks for your help ! Pierre From: Tassilo Horn Subject: Re: DocView: process ps->pdf changed status to killed. Date: Fri, 03 Oct 2014 20:34:41 +0200 > 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