help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DocView: process ps->pdf changed status to killed.


From: Pierre Lorenzon
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Sat, 04 Oct 2014 05:54:51 +0200 (CEST)

Oops sorry ! In fact it does not work better with
--no-site-file and -q. Simply I forgot removing pdf files that
had been manually created and doc-view hence did not launch the
conversion process.

Pierre 


From: Pierre Lorenzon <devel@pollock-nageoire.net>
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Sat, 04 Oct 2014 05:46:21 +0200 (CEST)

> 
> 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 <tsdh@gnu.org>
> Subject: Re: DocView: process ps->pdf changed status to killed.
> Date: Fri, 03 Oct 2014 20:34:41 +0200
> 
>> Pierre Lorenzon <devel@pollock-nageoire.net> 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
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]