GNU bug report logs -
#18340
24.4.50; Bad UI for `find-file-literally'
Previous Next
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
View this message in rfc822 format
> Date: Wed, 4 May 2016 08:05:04 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 18340 <at> 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.
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.