GNU bug report logs - #43884
Give explanation choice when asking about reverting buffers

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 9 Oct 2020 16:05:01 UTC

Severity: wishlist

Fixed in version 28.1

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 43884 in the body.
You can then email your comments to 43884 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43884; Package emacs. (Fri, 09 Oct 2020 16:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 09 Oct 2020 16:05:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Give explanation choice when asking about reverting buffers
Date: Sat, 10 Oct 2020 00:04:41 +0800
Revert buffer from file /cf/updates/TABZ? (yes or no) ?

Sounds serious. How about adding a "?" option that would tell the user
what that means:

Revert buffer from file /cf/updates/TABZ? (yes or no or ?) ?

So if he hits "?" a *Help* buffer would appear telling him the serious
consequences of each of the two choices.

After looking at
http://www.gnu.org/software/emacs/manual/html_node/emacs/Reverting.html

we see the message should say
"Yes: Throw away the changes you made in the buffer and replace them with the
saved version of the file from disk."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43884; Package emacs. (Sat, 10 Oct 2020 20:41:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 43884 <at> debbugs.gnu.org
Subject: Re: bug#43884: Give explanation choice when asking about reverting
 buffers
Date: Sat, 10 Oct 2020 22:40:29 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> Revert buffer from file /cf/updates/TABZ? (yes or no) ?
>
> Sounds serious. How about adding a "?" option that would tell the user
> what that means:

Do you have a recipe for reproducing this?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43884; Package emacs. (Mon, 12 Oct 2020 11:48:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 43884 <at> debbugs.gnu.org
Subject: Re: bug#43884: Give explanation choice when asking about reverting
 buffers
Date: Mon, 12 Oct 2020 19:15:43 +0800
>>>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
LI> 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

>> Revert buffer from file /cf/updates/TABZ? (yes or no) ?
>> 
>> Sounds serious. How about adding a "?" option that would tell the user
>> what that means:

LI> Do you have a recipe for reproducing this?

$ emacs file # and edit it but don't save yet.
$ touch file
$ emacsclient -n file




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43884; Package emacs. (Sun, 06 Jun 2021 11:06:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 43884 <at> debbugs.gnu.org
Subject: Re: bug#43884: Give explanation choice when asking about reverting
 buffers
Date: Sun, 06 Jun 2021 13:04:58 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

>>> Sounds serious. How about adding a "?" option that would tell the user
>>> what that means:
>
> LI> Do you have a recipe for reproducing this?
>
> $ emacs file # and edit it but don't save yet.
> $ touch file
> $ emacsclient -n file

Thanks.  In this case, I think the prompt should just be more explicit
so that a "?" isn't necessary.  So I've made this change in Emacs 28
instead for this scenario.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 43884 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 06 Jun 2021 11:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Jul 2021 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 297 days ago.

Previous Next


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