unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: 18340@debbugs.gnu.org
Subject: bug#18340: 24.4.50; Bad UI for `find-file-literally'
Date: Wed, 4 May 2016 08:05:04 -0700 (PDT)	[thread overview]
Message-ID: <79aed96d-c930-4bd0-9c88-94900191071a@default> (raw)
In-Reply-To: <<83futxkhhd.fsf@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?  (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.





       reply	other threads:[~2016-05-04 15:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<9fd1f4c3-a944-4305-9eb5-9f3a877d1b8b@default>
     [not found] ` <<877ffazlhj.fsf@gnus.org>
     [not found]   ` <<83futxkhhd.fsf@gnu.org>
2016-05-04 15:05     ` Drew Adams [this message]
2016-05-04 15:23       ` bug#18340: 24.4.50; Bad UI for `find-file-literally' Eli Zaretskii
2014-08-27 21:37 Drew Adams
2016-05-04  0:59 ` Lars Ingebrigtsen
2016-05-04 14:47   ` Eli Zaretskii
2021-10-10 22:30 ` Stefan Kangas
2021-10-11  6:17   ` Juri Linkov
2021-10-11 11:41     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79aed96d-c930-4bd0-9c88-94900191071a@default \
    --to=drew.adams@oracle.com \
    --cc=18340@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).