bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49869: Revert buffer? Yes/No/Maybe


From: Lars Ingebrigtsen
Subject: bug#49869: Revert buffer? Yes/No/Maybe
Date: Wed, 04 Aug 2021 11:02:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> There is a new short keybinding to revert the current buffer -
> just 3 keys: 'C-x x g'.  But then it asks for a confirmation
> with 4 keys: 'y e s RET' that is even longer than the command keys.
> This defeats the purpose of having the short key sequence.
> Does 'C-x x g' really need a confirmation?
>
> I propose to revert the buffer immediately after typing 'C-x x g'.

I think I agree...  if the buffer hasn't been changed.  So we could bind
it to a new command, like revert-buffer-command, that would call
revert-buffer with NOCONFIRM if the buffer hasn't been edited?

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]