From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18340: 24.4.50; Bad UI for `find-file-literally' Date: Wed, 04 May 2016 18:23:51 +0300 Message-ID: <83y47pj188.fsf@gnu.org> References: <<9fd1f4c3-a944-4305-9eb5-9f3a877d1b8b@default>> <<877ffazlhj.fsf@gnus.org>> <<83futxkhhd.fsf@gnu.org>> <79aed96d-c930-4bd0-9c88-94900191071a@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462375542 5825 80.91.229.3 (4 May 2016 15:25:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 15:25:42 +0000 (UTC) Cc: 18340@debbugs.gnu.org, larsi@gnus.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 17:25:31 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 1axyg7-0004oV-7H for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 17:25:31 +0200 Original-Received: from localhost ([::1]:48577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyg3-0008Qh-DQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 11:25:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyfu-0008CP-L0 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:25:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axyfi-0001iL-0S for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:25:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyfh-0001fz-US for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:25:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axyfe-0004Y7-50 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 11:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 May 2016 15:25:02 +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.146237544517418 (code B ref 18340); Wed, 04 May 2016 15:25:02 +0000 Original-Received: (at 18340) by debbugs.gnu.org; 4 May 2016 15:24:05 +0000 Original-Received: from localhost ([127.0.0.1]:37891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axyej-0004Ws-22 for submit@debbugs.gnu.org; Wed, 04 May 2016 11:24:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axyei-0004WN-23 for 18340@debbugs.gnu.org; Wed, 04 May 2016 11:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axyeT-0001RA-H6 for 18340@debbugs.gnu.org; Wed, 04 May 2016 11:23:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyeT-0001Pi-F4; Wed, 04 May 2016 11:23:49 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2197 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1axyeN-0005XP-Ai; Wed, 04 May 2016 11:23:43 -0400 In-reply-to: <79aed96d-c930-4bd0-9c88-94900191071a@default> (message from Drew Adams on Wed, 4 May 2016 08:05:04 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:117745 Archived-At: > Date: Wed, 4 May 2016 08:05:04 -0700 (PDT) > From: Drew Adams > Cc: 18340@debbugs.gnu.org > > > > We should perhaps consider obsoleting `resize-mini-windows'. Emacs has > > > many prompts now that don't make sense in a single line. > > > > Those prompts should bind resize-mini-windows non-nil. > > > > I don't understand the rest of the bug report, > > What don't you understand about it? I understood nothing beyond the example with resize-mini-windows and a normal frame which has a minibuffer. > > 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. Please show a recipe, as I didn't understand the problem. Repeating what you said the first time doesn't help. > Again: "Don't show a multi-line message for prompting `y-or-n-p' in > the echo area and expect users to see it." Please let us judge what would be the best solution for problems. > It is NOT a good idea to depend on `resize-mini-windows' showing > all of a multi-line message. You contradict yourself: above you said that the value of resize-mini-windows doesn't necessarily help. > 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. I don't think I agree. I see no reason to treat single-line and multi-line prompts differently, not without a good reason. The fact that there's more than one line doesn't cut it. > 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. Once again, please don't dictate solutions for problems.