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: Stefan Monnier
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Tue, 21 Oct 2014 10:28:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> The problem is that if your emacs doesn't satisfy the doc-view
> requirements (PNG support, graphical frame, conversion utilities) but
> you have pdf2text installed, then you're asked if you want to view the
> document as plain text instead.  If you say yes, then doc-view will
> start a process to do the conversion.
> But right after starting that process, `doc-view-toggle-display' is
> called which will kill all running doc-view processes (including the
> conversion to TXT) and put the document's buffer back in its normal
> editing mode.  That's why you've got the message that the process was
> killed.

It seems like it's an error to put the "put the document's buffer back
in its normal editing mode" if the user agreed to "view the
document as plain text".  IOW the core of the problem might be that we
shouldn't call `doc-view-toggle-display' in that case?

I don't understand why running the process synchronously helps, and it
sounds like a workaround rather than a fix.


        Stefan



reply via email to

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