GNU bug report logs - #18340
24.4.50; Bad UI for `find-file-literally'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 27 Aug 2014 21:39:02 UTC

Severity: normal

Tags: moreinfo

Merged with 5423

Found in versions 23.1.91, 24.4.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 18340 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 18340 <at> debbugs.gnu.org
Subject: RE: bug#18340: 24.4.50; Bad UI for `find-file-literally'
Date: Wed, 4 May 2016 08:05:04 -0700 (PDT)
> > 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.




This bug report was last modified 3 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.