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: Alan Mackenzie
Subject: Re: POLL: make C-x o transient
Date: Thu, 28 Jan 2021 21:58:54 +0000

Hello, Gregory.

On Thu, Jan 28, 2021 at 19:13:22 +0000, Gregory Heytings wrote:


> > Just switch the direction by the prefix arg '-'.  Its handling could be 
> > easily implemented.  It seems better to extend repeat.el to allow using 
> > the last key of the last command, add handling of universal arguments, 
> > and all this without using add-advice and hooks.

> IMO it is would be much better to map the existing repeat command to a 
> single keystroke, it would make any command repeatable without changing 
> anything else, and it already handles universal arguments.  I think C-= 
> would be the best key for this: not only is "=" a good mnemonic for "same 
> command", but it is also next to the "-" key to change the direction.

It depends entirely on your keyboard layout.  On a standard German
keyboard, for example, = is <shift>0, so C-= would mean pressing three
keys at the same time.  Also on the same keyboard, - and = are nowhere
near eachother.

Also, does C-= even exist on a typical tty layout?

Also[2], C-= is likely bound to many users' personal commands.

So I think I would be against using C-= for this command.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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