[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `vc-revert' keybinding
From: |
Sebastián Monía |
Subject: |
Re: `vc-revert' keybinding |
Date: |
Mon, 04 Nov 2024 13:16:53 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Manuel Giraud via "Emacs development discussions." <emacs-devel@gnu.org>
writes:
> Hi,
>
> Maybe it was already discussed, but I wonder why the default shortcut
> for `vc-revert' is 'C-x v u': this prevents from having 'u' as a
> shortcut in a VC Directory mode because it is already used for
> unmarking.
>
> Why not make it 'C-x v k' ("kill" these modifications) by default and
> use 'k' as shortcut in VC Directory mode? Or maybe, keep 'C-x v u' and
> add 'C-x v k' and 'k' in VC Directory mode?
Curiously, I added "k" to revert in both vc-dir-mode-map and
vc-prefix-map in my configuration.
I was trying to remember why, I _think_ it is because that's the key
used for reverting in Magit.
I do agree with the next reply that "kill" means something completely
different in the Emacs context. That said, vc-prefix-map uses "g" for
vc-annotate, so there's precedent that not all bindings are mnemonic :)
--
Sebastián Monía
https://site.sebasmonia.com/
- Re: `vc-revert' keybinding, (continued)
- Re: `vc-revert' keybinding, Alfred M. Szmidt, 2024/11/04
- Re: `vc-revert' keybinding, Manuel Giraud, 2024/11/05
- Re: `vc-revert' keybinding, Alfred M. Szmidt, 2024/11/05
- Re: `vc-revert' keybinding, chad, 2024/11/05
- Re: `vc-revert' keybinding, Juri Linkov, 2024/11/05
- Re: `vc-revert' keybinding, Alfred M. Szmidt, 2024/11/05
- Re: `vc-revert' keybinding, Sebastián Monía, 2024/11/05
- Re: `vc-revert' keybinding, Alfred M. Szmidt, 2024/11/06
- Re: `vc-revert' keybinding, Manuel Giraud, 2024/11/06
Re: `vc-revert' keybinding, Sean Whitton, 2024/11/06
Re: `vc-revert' keybinding,
Sebastián Monía <=
Re: `vc-revert' keybinding, Richard Stallman, 2024/11/05