* bug#43884: Give explanation choice when asking about reverting buffers @ 2020-10-09 16:04 積丹尼 Dan Jacobson 2020-10-10 20:40 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: 積丹尼 Dan Jacobson @ 2020-10-09 16:04 UTC (permalink / raw) To: 43884 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." ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#43884: Give explanation choice when asking about reverting buffers 2020-10-09 16:04 bug#43884: Give explanation choice when asking about reverting buffers 積丹尼 Dan Jacobson @ 2020-10-10 20:40 ` Lars Ingebrigtsen 2020-10-12 11:15 ` 積丹尼 Dan Jacobson 0 siblings, 1 reply; 4+ messages in thread From: Lars Ingebrigtsen @ 2020-10-10 20:40 UTC (permalink / raw) To: 積丹尼 Dan Jacobson; +Cc: 43884 積丹尼 Dan Jacobson <jidanni@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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#43884: Give explanation choice when asking about reverting buffers 2020-10-10 20:40 ` Lars Ingebrigtsen @ 2020-10-12 11:15 ` 積丹尼 Dan Jacobson 2021-06-06 11:04 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: 積丹尼 Dan Jacobson @ 2020-10-12 11:15 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 43884 >>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes: LI> 積丹尼 Dan Jacobson <jidanni@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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#43884: Give explanation choice when asking about reverting buffers 2020-10-12 11:15 ` 積丹尼 Dan Jacobson @ 2021-06-06 11:04 ` Lars Ingebrigtsen 0 siblings, 0 replies; 4+ messages in thread From: Lars Ingebrigtsen @ 2021-06-06 11:04 UTC (permalink / raw) To: 積丹尼 Dan Jacobson; +Cc: 43884 積丹尼 Dan Jacobson <jidanni@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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-06 11:04 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-10-09 16:04 bug#43884: Give explanation choice when asking about reverting buffers 積丹尼 Dan Jacobson 2020-10-10 20:40 ` Lars Ingebrigtsen 2020-10-12 11:15 ` 積丹尼 Dan Jacobson 2021-06-06 11:04 ` Lars Ingebrigtsen
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).