[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: POLL: make C-x o transient
From: |
Philip K. |
Subject: |
Re: POLL: make C-x o transient |
Date: |
Fri, 29 Jan 2021 00:19:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Alan Mackenzie <acm@muc.de> writes:
> 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.
I know of at least one (MELPA) package that recommend this key:
https://github.com/magnars/expand-region.el#expand-regionel--
So I'd agree that this is a reasonable objection.
> So I think I would be against using C-= for this command.
--
Philip K.
- Re: POLL: make C-x o transient, (continued)
- Re: POLL: make C-x o transient, martin rudalics, 2021/01/28
- Re: POLL: make C-x o transient, Juri Linkov, 2021/01/28
- Re: POLL: make C-x o transient, Gregory Heytings, 2021/01/28
- Re: POLL: make C-x o transient, Kévin Le Gouguec, 2021/01/28
- Re: POLL: make C-x o transient, Gregory Heytings, 2021/01/28
- Re: POLL: make C-x o transient, Alan Mackenzie, 2021/01/28
- Re: POLL: make C-x o transient,
Philip K. <=
- RE: [External] : Re: POLL: make C-x o transient, Drew Adams, 2021/01/28
- Re: [External] : Re: POLL: make C-x o transient, chad, 2021/01/28
- RE: [External] : Re: POLL: make C-x o transient, Drew Adams, 2021/01/29
- Re: [External] : Re: POLL: make C-x o transient, Richard Stallman, 2021/01/30
- RE: [External] : Re: POLL: make C-x o transient, Gregory Heytings, 2021/01/29
- Re: [External] : Re: POLL: make C-x o transient, Stefan Monnier, 2021/01/29
- Re: [External] : Re: POLL: make C-x o transient, Óscar Fuentes, 2021/01/29
- RE: [External] : Re: POLL: make C-x o transient, Drew Adams, 2021/01/29
- Re: POLL: make C-x o transient, Gregory Heytings, 2021/01/30
- RE: [External] : Re: POLL: make C-x o transient, Drew Adams, 2021/01/30