Subject: bug#3865: Patch for #3865: Would somebody please commit on HEAD and branch?

From: Stefan Monnier <[email-masked]>
Date: Sun, 19 Jul 2009 01:34:46 -0400

> +    (if (and (executable-find doc-view-pdftotext-program)
> +	     (yes-or-no-p "Cannot render file.  View extracted text instead? "))
> +	(doc-view-open-text)
> +      (doc-view-toggle-display))))

Please avoid modal UIs wherever possible.  E.g. rather than ask with
yes-or-no-p, just choose one of the two branches (maybe based on
a config var) and output a message explaining how to get the
other branch.

        Stefan