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: Juri Linkov
Subject: Re: POLL: make C-x o transient
Date: Mon, 01 Feb 2021 19:21:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I would really like to have "C-x o o o o" feature to cycle through
> frame's windows. I think one cycling direction is enough because frames
> don't usually have large number of windows. On the other hand even "C-x
> o o" is much nicer than "C-x o C-x o".

Repeating the last character is the most convenient way to repeat the command,
indeed.  No other key combination would be equally easy to type.  For example,
when there is a need to navigate next-error locations with 'M-g n M-g n ...'
changing the modifier key in 'M-g n C-=' won't do it better than just
'M-g n n n ...'

But since typing a self-inserting key is ambiguous, and sometimes requires
typing another key to break the key sequence to insert the character,
this means that such feature should be optional.

In this case it's easy to implement it as a minor mode that uses hooks,
e.g. last-char-repeatable-mode added to repeat.el.

This could be like delete-selection-mode that by default
puts a special property on symbols of affected commands.



reply via email to

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