From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18340: 24.4.50; Bad UI for `find-file-literally' Date: Wed, 4 May 2016 08:05:04 -0700 (PDT) Message-ID: <79aed96d-c930-4bd0-9c88-94900191071a@default> References: <<9fd1f4c3-a944-4305-9eb5-9f3a877d1b8b@default>> <<877ffazlhj.fsf@gnus.org>> <<83futxkhhd.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462374430 18641 80.91.229.3 (4 May 2016 15:07:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 15:07:10 +0000 (UTC) Cc: 18340@debbugs.gnu.org To: Eli Zaretskii , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 17:06:57 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 1axyO6-00027V-QA for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 17:06:54 +0200 Original-Received: from localhost ([::1]:48472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyO2-0008TT-Ui for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 11:06:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyNZ-0007ei-VH for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:06:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axyNO-0003qJ-BK for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:06:16 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyNO-0003pX-8H for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:06:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axyNF-00045B-P0 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 May 2016 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18340 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18340-submit@debbugs.gnu.org id=B18340.146237431615626 (code B ref 18340); Wed, 04 May 2016 15:06:01 +0000 Original-Received: (at 18340) by debbugs.gnu.org; 4 May 2016 15:05:16 +0000 Original-Received: from localhost ([127.0.0.1]:37849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axyMW-00043y-GK for submit@debbugs.gnu.org; Wed, 04 May 2016 11:05:16 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:38300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axyMU-00043i-86 for 18340@debbugs.gnu.org; Wed, 04 May 2016 11:05:15 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u44F57GH022602 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 May 2016 15:05:07 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u44F568p027959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 May 2016 15:05:07 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u44F55vk015430; Wed, 4 May 2016 15:05:06 GMT In-Reply-To: <<83futxkhhd.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:117737 Archived-At: > > We should perhaps consider obsoleting `resize-mini-windows'. Emacs has > > many prompts now that don't make sense in a single line. >=20 > Those prompts should bind resize-mini-windows non-nil. >=20 > I don't understand the rest of the bug report,=20 What don't you understand about it? (To quote a famous person.) > but the specific part about find-file-literally will be > definitely fixed by that. I don't think so. `resize-mini-windows' will do nothing for a standalone minibuffer. Again: "Don't show a multi-line message for prompting `y-or-n-p' in the echo area and expect users to see it." It is NOT a good idea to depend on `resize-mini-windows' showing all of a multi-line message. If the code _really_ needs to interact with the user using a multi-line message, then `y-or-n-p' is the _wrong_ way to ask the question. If users need to read multiple lines then hitting a single key to choose is probably not appropriate. This should be rethought, IMO. If the prompt cannot reasonably be a single line then some other interaction should be used. Do not just look for a way to force minibuffer-window resizing.