GNU bug report logs -
#8180
24.0.50; verbose, confusing y-or-n-p prompts in `find-file-no-select'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 5 Mar 2011 15:17:01 UTC
Severity: wishlist
Tags: wontfix
Merged with 10726,
13159
Found in versions 24.0.50, 24.0.93, 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8180 in the body.
You can then email your comments to 8180 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8180
; Package
emacs
.
(Sat, 05 Mar 2011 15:17:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 05 Mar 2011 15:17:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
There are several `y-or-n-p' prompts in `find-file-no-select' that are
very long (e.g. 6 lines!) and confusing. Some other (alternative)
user interaction should be found for this. Either just a short prompt
or, if it is important to convey some background info, then also pop
up an informative window for that. But do not try to provide such
info in the prompt.
This was orginally part of bug #8177. Eli correctly suggested a
separate bug report for it. Given the other problem reported in #8177,
these prompts were being seen frequently. Normally they are seldom
seen, which is probably why this has been broken since Emacs 22.
The rest of this bug description is taken from #8177.
The annoying dialog you get uses multiple lines of text (6!) to prompt
in the minibuffer (or in a popup, depending on how you invoke the
function) for a y-or-n answer. The prompt text is *far* too long and
pretty much incomprehensible to an average user. This is the `y-or-n-p'
prompt (including its line breaks):
"The file maybe-a-very-long-file-name.jpg is already visited literally,
meaning no coding system decoding, format conversion, or local variables.
You have asked to visit it normally,
but Emacs can only visit a file in one way at a time.
Do you want to revisit the file normally now? (y or n) "
That is _ridiculously_ long and confusing. It is horribly user
unfriendly. `find-file-noselect' is now filled to the gills with such
gobbledygook prompts, each more twisted and verbose than the next.
It's hard to believe that we have been prompting users this way since
Emacs 22 (the prompts for this are much shorter in Emacs 21).
Fortunately, these prompts not encountered very often.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2011-02-28 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8180
; Package
emacs
.
(Sun, 06 Mar 2011 00:13:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 8180 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> "The file maybe-a-very-long-file-name.jpg is already visited literally,
> meaning no coding system decoding, format conversion, or local variables.
> You have asked to visit it normally,
> but Emacs can only visit a file in one way at a time.
>
> Do you want to revisit the file normally now? (y or n) "
In the first place, why can't we simultaneously in the normal way and
literally, in different buffers? Only reason I can think of is that
get-file-buffer currently doesn't distinguish the two types, but we
could add an optional argument to do that.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#8180
; Package
emacs
.
(Thu, 28 Apr 2016 10:15:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 8180 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> There are several `y-or-n-p' prompts in `find-file-no-select' that are
> very long (e.g. 6 lines!) and confusing. Some other (alternative)
> user interaction should be found for this. Either just a short prompt
> or, if it is important to convey some background info, then also pop
> up an informative window for that. But do not try to provide such
> info in the prompt.
[...]
> "The file maybe-a-very-long-file-name.jpg is already visited literally,
> meaning no coding system decoding, format conversion, or local variables.
> You have asked to visit it normally,
> but Emacs can only visit a file in one way at a time.
>
> Do you want to revisit the file normally now? (y or n) "
>
> That is _ridiculously_ long and confusing. It is horribly user
> unfriendly. `find-file-noselect' is now filled to the gills with such
> gobbledygook prompts, each more twisted and verbose than the next.
`find-file-no-select' doesn't exist, and `find-file-noselect' isn't a
command... Are you referring to `find-file-literally'?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Forcibly Merged 8180 10726.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Apr 2016 13:28:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#8180
; Package
emacs
.
(Thu, 28 Apr 2016 13:42:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 8180 <at> debbugs.gnu.org (full text, mbox):
> `find-file-no-select' doesn't exist, and `find-file-noselect' isn't a
> command... Are you referring to `find-file-literally'?
I meant `find-file-noselect', which is used by various
commands.
Forcibly Merged 8180 10726 13159.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Apr 2016 17:40:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#8180
; Package
emacs
.
(Sun, 01 May 2016 18:00:03 GMT)
Full text and
rfc822 format available.
Message #21 received at 8180 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> The annoying dialog you get uses multiple lines of text (6!) to prompt
> in the minibuffer (or in a popup, depending on how you invoke the
> function) for a y-or-n answer. The prompt text is *far* too long and
> pretty much incomprehensible to an average user. This is the `y-or-n-p'
> prompt (including its line breaks):
>
> "The file maybe-a-very-long-file-name.jpg is already visited literally,
> meaning no coding system decoding, format conversion, or local variables.
> You have asked to visit it normally,
> but Emacs can only visit a file in one way at a time.
>
> Do you want to revisit the file normally now? (y or n) "
>
> That is _ridiculously_ long and confusing. It is horribly user
> unfriendly. `find-file-noselect' is now filled to the gills with such
> gobbledygook prompts, each more twisted and verbose than the next.
I don't think it's gobbledygook. You only get a prompt like that if
you've previously visited a file literally, and then you probably know
what that is, because just about the only way to get such a buffer is by
using the `M-x find-file-literally' command.
So I don't see anything to fix here. Closing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) wontfix.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 01 May 2016 18:00:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
8180 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 01 May 2016 18:00:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#8180
; Package
emacs
.
(Sun, 01 May 2016 18:16:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 8180 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 01 May 2016 19:59:01 +0200
> Cc: 8180 <at> debbugs.gnu.org
>
> > "The file maybe-a-very-long-file-name.jpg is already visited literally,
> > meaning no coding system decoding, format conversion, or local variables.
> > You have asked to visit it normally,
> > but Emacs can only visit a file in one way at a time.
> >
> > Do you want to revisit the file normally now? (y or n) "
> >
> > That is _ridiculously_ long and confusing. It is horribly user
> > unfriendly. `find-file-noselect' is now filled to the gills with such
> > gobbledygook prompts, each more twisted and verbose than the next.
>
> I don't think it's gobbledygook. You only get a prompt like that if
> you've previously visited a file literally, and then you probably know
> what that is, because just about the only way to get such a buffer is by
> using the `M-x find-file-literally' command.
The prompt used to be just
"Save file and revisit non-literally? "
but it was enhanced (by Richard, no less), to make it more explicit
and clear.
> So I don't see anything to fix here. Closing.
I agree.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 30 May 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 22 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.