|
From: | Dmitry Gutov |
Subject: | Re: Gitlab Migration |
Date: | Tue, 7 Sep 2021 05:55:04 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 05.09.2021 06:44, Richard Stallman wrote:
I think undo/redo instead of undo-only might be an improvement in Emacs, and might not be hard to get used to as a change -- if only we can find a key binding for redo. I know we had a discussion of this before.
Let me do a recap. We proposed the keys that a reasonably popular 11 year old package called undo-tree uses: 'C-?' and 'M-_'.
You replied that those seem inconvenient because C-? is not available on ttys, and both C-? and M-_ require two shift keys.
Others replied later that users generally expect 'redo' to require one more modifier than 'undo'. In graphical Emacs, it can work out to having 'C-/' call 'undo', then one can additionally hold down the Shift key to the right of '/', calling 'redo' with the resulting 'C-?'.
Alas, there would be no such easy transition in terminal Emacs, but other than that, requiring an extra modifier key is not inherently a problem. The user should be able to switch between C-- and M-S-- and back without too much trouble.
In the same discussion T.V. Raman mentioned that he has bound 'undo-redo' to 'C-x C-u', to stay close to 'C-x u', another default binding for 'undo'.
'C-x C-u' is unfortunately occupied, but it's a disabled command, so maaaybe we could take over the binding? Or use 'C-x U'.
[Prev in Thread] | Current Thread | [Next in Thread] |