unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Tassilo Horn <tsdh@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: DocView: process ps->pdf changed status to killed.
Date: Tue, 21 Oct 2014 10:28:33 -0400	[thread overview]
Message-ID: <jwvlho9ijo3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fvehztfs.fsf@thinkpad-t440p.tsdh.org> (Tassilo Horn's message of "Tue, 21 Oct 2014 11:02:47 +0200")

> 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	other threads:[~2014-10-21 14:28 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlho9ijo3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).