emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Monnier
Subject: Re: Patch for #3865: Would somebody please commit on HEAD and branch?
Date: Sun, 19 Jul 2009 01:34:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

> +    (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




reply via email to

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