emacs-devel
[Top][All Lists]
Advanced

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

Re: POLL: make C-x o transient


From: Gregory Heytings
Subject: Re: POLL: make C-x o transient
Date: Fri, 05 Feb 2021 09:34:25 +0000


An example: calling (other-window 1) four times followed by (other-window -1) one time requires:

C-x o C-x z z z C-- C-x z : nine keys pressed, control key pressed and released three times

C-x o C-= C-= C-= C-- C-= : seven keys pressed, control key pressed twice and released pressed only once

This needs to be compared also with the last letter typed:

C-x o o o o O : six keys pressed, control key pressed once and released pressed once


... and shift key pressed and released once.

... and possibly pressing C-g to exit the transient keymap.

That solution has a number of limits:

1. it is not general, you have to define specific keys for each case

2. the keys that are bound are not self-inserting anymore, you may have to exit the transient keymap manually with C-g

3. there are even cases where this is not possible to use it, for example, how would you repeat C-x C-t?

4. you cannot freely change the argument between two repetitions



reply via email to

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