From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8180: 24.0.50; verbose, confusing y-or-n-p prompts in `find-file-no-select' Date: Sun, 01 May 2016 19:59:01 +0200 Message-ID: <87lh3tzml6.fsf@gnus.org> References: <435FEA4267C54CB2B558397723E571FE@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462125649 3742 80.91.229.3 (1 May 2016 18:00:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 18:00:49 +0000 (UTC) Cc: 8180@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 01 20:00:33 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awvfT-0007vM-QB for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 20:00:31 +0200 Original-Received: from localhost ([::1]:33824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awvfP-0006Ey-QT for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 14:00:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awvfG-000635-Lq for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:00:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awvf4-00030m-Ph for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:00:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awvf4-0002xG-N6 for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:00:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awvf1-00063Y-7i for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2016 18:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8180 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8180-submit@debbugs.gnu.org id=B8180.146212554623164 (code B ref 8180); Sun, 01 May 2016 18:00:03 +0000 Original-Received: (at 8180) by debbugs.gnu.org; 1 May 2016 17:59:06 +0000 Original-Received: from localhost ([127.0.0.1]:60944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awve6-00061Y-5Q for submit@debbugs.gnu.org; Sun, 01 May 2016 13:59:06 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:40194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awve4-00061Q-Cx for 8180@debbugs.gnu.org; Sun, 01 May 2016 13:59:04 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awve1-0000rY-Ct; Sun, 01 May 2016 19:59:03 +0200 In-Reply-To: <435FEA4267C54CB2B558397723E571FE@us.oracle.com> (Drew Adams's message of "Sat, 5 Mar 2011 07:16:35 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117531 Archived-At: "Drew Adams" writes: > The annoying dialog you get uses multiple lines of text (6!) to prompt > in the minibuffer (or in a popup, depending on how you invoke the > function) for a y-or-n answer. The prompt text is *far* too long and > pretty much incomprehensible to an average user. This is the `y-or-n-p' > prompt (including its line breaks): > > "The file maybe-a-very-long-file-name.jpg is already visited literally, > meaning no coding system decoding, format conversion, or local variables. > You have asked to visit it normally, > but Emacs can only visit a file in one way at a time. > > Do you want to revisit the file normally now? (y or n) " > > That is _ridiculously_ long and confusing. It is horribly user > unfriendly. `find-file-noselect' is now filled to the gills with such > gobbledygook prompts, each more twisted and verbose than the next. I don't think it's gobbledygook. You only get a prompt like that if you've previously visited a file literally, and then you probably know what that is, because just about the only way to get such a buffer is by using the `M-x find-file-literally' command. So I don't see anything to fix here. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no