emacs-devel
[Top][All Lists]
Advanced

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

Re: Gitlab Migration


From: Arthur Miller
Subject: Re: Gitlab Migration
Date: Tue, 07 Sep 2021 06:56:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> 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'.

Introduce an extra prefix: C-v? And put undo on C-v u, and windmove undo on C-v 
U? :)

V is next to c, so all prefixes follow next to each other x,c and v.




reply via email to

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