[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46369: 28.0.50; Bind clone-buffer into the new C-x x keymap
From: |
Lars Ingebrigtsen |
Subject: |
bug#46369: 28.0.50; Bind clone-buffer into the new C-x x keymap |
Date: |
Sun, 07 Feb 2021 22:19:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 07.02.2021 20:26, Sean Whitton wrote:
>> I noticed that Lars has bound rename-uniquely to C-x x u.
>
> Aside: I think this binding is inconsistent with 'vc-revert' (which is
> 'C-x v u').
>
> Possible alternatives:
>
> - Not binding rename-uniquely at all.
>
> - Moving its binding to 'C-x x R' (so that two very similar commands
> don't take up different keys). And possibly moving revert-buffer to
> 'C-x x u'.
"u" is somewhat mnemonic for VCs, since `vc-revert' "undos" what you've
done, but in non-VC buffers, it's not really -- you're
reloading/regenerating, not undoing.
And `revert-buffer' is `g' in special-mode-map, so keeping it g-ish in
the global map makes more sense, in my opinion.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug#46369: [External] : bug#46369: 28.0.50; Bind clone-buffer into the new C-x x keymap, Drew Adams, 2021/02/07
bug#46369: 28.0.50; Bind clone-buffer into the new C-x x keymap, Lars Ingebrigtsen, 2021/02/08