emacs-devel
[Top][All Lists]
Advanced

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

Re: Concern about new binding.


From: Robert Pluim
Subject: Re: Concern about new binding.
Date: Wed, 03 Feb 2021 11:50:07 +0100

>>>>> On Wed, 03 Feb 2021 09:37:07 +0000, Gregory Heytings 
>>>>> <gregory@heytings.org> said:

    >>> In a recent commit I see that the C-x g binding was taken for
    >>> revert-buffer.
    >> 
    >> I see another disadvantage in that binding: revert-buffer is a
    >> drastic operation, so we should not make it easier.  I think it is
    >> wiser not to put it on a key -- which is why I never did.
    >> 

    Gregory> It's true that it is a drastic operation, but it asks for
    Gregory> confirmation, and it can be undone.  An additional security measure
    Gregory> would be to disable it by default: (put 'revert-buffer 'disabled 
t).

Please no, itʼs a useful operation in some situations, making it more
confusing for people to use is not a good idea.

Compromise binding: "C-x G", which doesnʼt clash with magit, and is
relatively hard to type by accident.

Robert



reply via email to

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