From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Patch for #3865: Would somebody please commit on HEAD and branch? Date: Sun, 19 Jul 2009 01:34:46 -0400 Message-ID: References: <87vdlr2ldd.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247981709 11891 80.91.229.12 (19 Jul 2009 05:35:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 05:35:09 +0000 (UTC) Cc: 3865@emacsbugs.donarmstrong.com To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 19 07:35:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MSP35-0001Zg-QH for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 07:35:00 +0200 Original-Received: from localhost ([127.0.0.1]:58170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSP34-0001BG-Ti for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 01:34:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSP2z-0001B3-JZ for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:34:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSP2v-00018l-0M for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:34:53 -0400 Original-Received: from [199.232.76.173] (port=44341 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSP2u-00018c-Rd for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:34:48 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:62472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSP2u-0001Xt-CO for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:34:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsEAGNNYkpFpYWY/2dsb2JhbACBUcoShAwFhwI X-IronPort-AV: E=Sophos;i="4.43,229,1246852800"; d="scan'208";a="41857976" Original-Received: from 69-165-133-152.dsl.teksavvy.com (HELO pastel.home) ([69.165.133.152]) by ironport2-out.teksavvy.com with ESMTP; 19 Jul 2009 01:34:47 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E9D3A80B0; Sun, 19 Jul 2009 01:34:46 -0400 (EDT) In-Reply-To: <87vdlr2ldd.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 17 Jul 2009 20:51:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112731 Archived-At: > + (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