[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DocView: process ps->pdf changed status to killed.
From: |
Tassilo Horn |
Subject: |
Re: DocView: process ps->pdf changed status to killed. |
Date: |
Sat, 04 Oct 2014 10:41:07 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Pierre Lorenzon <devel@pollock-nageoire.net> writes:
Hi Pierre,
> 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.
Ok, I see. But is it still true that the `start-process' form of my
last mail worked, i.e., the process finished normally without being
killed? That would be strange since that's pretty much the same what
doc-view does except that the latter might use a different
`default-directory'.
So if it really worked, please try:
(let* ((default-directory (or (unhandled-file-name-directory
default-directory)
(expand-file-name "~/")))
(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
Now that's really exactly what doc-view does.
Bye,
Tassilo
- Re: DocView: process ps->pdf changed status to killed., (continued)
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/02
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/03
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/04
- Re: DocView: process ps->pdf changed status to killed.,
Tassilo Horn <=
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/07
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/07
- Re: DocView: process ps->pdf changed status to killed., Pierre Lorenzon, 2014/10/18
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/19
- Re: DocView: process ps->pdf changed status to killed., Stefan Monnier, 2014/10/19
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/21
- Re: DocView: process ps->pdf changed status to killed., Stefan Monnier, 2014/10/21
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/21
- Message not available
- Re: DocView: process ps->pdf changed status to killed., Stefan Monnier, 2014/10/21
- Re: DocView: process ps->pdf changed status to killed., Tassilo Horn, 2014/10/21