From: Pierre Lorenzon <devel@pollock-nageoire.net>
To: tsdh@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Tue, 07 Oct 2014 10:25:33 +0200 (CEST) [thread overview]
Message-ID: <20141007.102533.2212875331518577085.devel@pollock-nageoire.net> (raw)
In-Reply-To: <87bnpsi5wc.fsf@thinkpad-t440p.tsdh.org>
From: Tassilo Horn <tsdh@gnu.org>
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Sat, 04 Oct 2014 10:41:07 +0200
> 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.
Not really exactly as I see in the code since I saw a few
supplementary things like recording the process in a list etc
...
Anyway the code above gives finished since C-c C-c then y
still gives killed in buffer test.ps. I will investigate more
precisely but I have not much time at the moement.
Thanks
Pierre
>
> Bye,
> Tassilo
next prev parent reply other threads:[~2014-10-07 8:25 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 17:06 DocView: process ps->pdf changed status to killed Pierre Lorenzon
2014-10-02 10:25 ` Tassilo Horn
2014-10-02 12:36 ` Stefan Monnier
2014-10-03 15:17 ` Pierre Lorenzon
2014-10-04 8:46 ` Tassilo Horn
2014-10-03 14:48 ` Pierre Lorenzon
2014-10-03 15:09 ` Pierre Lorenzon
2014-10-03 18:34 ` Tassilo Horn
2014-10-04 3:35 ` Pierre Lorenzon
2014-10-04 3:46 ` Pierre Lorenzon
2014-10-04 3:54 ` Pierre Lorenzon
2014-10-04 8:41 ` Tassilo Horn
2014-10-07 8:25 ` Pierre Lorenzon [this message]
2014-10-07 9:07 ` Tassilo Horn
2014-10-18 5:32 ` Pierre Lorenzon
2014-10-19 8:23 ` Tassilo Horn
2014-10-19 19:55 ` Stefan Monnier
2014-10-21 9:02 ` Tassilo Horn
2014-10-21 14:28 ` Stefan Monnier
2014-10-21 14:54 ` Tassilo Horn
[not found] ` <mailman.11640.1413903303.1147.help-gnu-emacs@gnu.org>
2014-10-21 15:36 ` Stefan Monnier
2014-10-21 19:15 ` Tassilo Horn
2014-10-21 20:19 ` Stefan Monnier
2014-10-22 6:00 ` Tassilo Horn
2014-10-22 7:16 ` Tassilo Horn
2014-10-22 12:34 ` Stefan Monnier
2014-10-22 13:36 ` Tassilo Horn
2014-10-23 5:11 ` Pierre Lorenzon
2014-10-23 6:14 ` Tassilo Horn
2014-10-23 12:01 ` Stefan Monnier
2014-10-23 19:18 ` Tassilo Horn
2014-10-24 6:04 ` Pierre Lorenzon
2014-10-24 6:36 ` Tassilo Horn
2014-10-24 9:10 ` Pierre Lorenzon
2014-10-24 9:24 ` Pierre Lorenzon
2014-10-24 10:26 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141007.102533.2212875331518577085.devel@pollock-nageoire.net \
--to=devel@pollock-nageoire.net \
--cc=help-gnu-emacs@gnu.org \
--cc=tsdh@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.