[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50344: C-x v keybinding for vc-print-branch-log
From: |
Filipp Gunbin |
Subject: |
bug#50344: C-x v keybinding for vc-print-branch-log |
Date: |
Thu, 16 Sep 2021 14:46:31 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
On 09/09/2021 20:39 +0300, Juri Linkov wrote:
>>>> Speaking of (re)moving bindings: 'C-x v b' (vc-switch-backend) seems
>>>> particularly useless.
>>> Oh, wow. What's the use case for that command? I can't imagine when
>>> that would actually do something useful... And it's a really old
>>> command, too -- perhaps this was something that made sense in an RCS
>>> world?
>>
>> I think it's for the case of nested repositories, like in bug#42966 and
>> other linked reports. And perhaps our detection might make the wrong
>> choice, thus it can be tweaked manually.
>>
>> I don't have any specific scenario in mind, though. Or personal experience
>> with such nesting.
>>
>>>> If we do this the conservative way, though, the whole procedure can
>>>> span half a decade:
>>>>
>>>> - Move vc-switch-backend to 'C-x v B' (Emacs 28)
>>>> - Move branch-map to 'b' and vc-create-tag to 'C-x v b c' (Emacs 29)
>>>> - Finally move vc-search-log to 'C-x v s' (Emacs 30)
>>> We could do the first two steps in Emacs 28, perhaps -- if anybody's
>>> actually using `C-x v b', they'll then get
>>> C-x v b-
>>> in the echo area, which should tell them that something's different is
>>> happening now...
>>
>> Works for me.
>>
>> Juri, what do you say?
>
> I think in the long-term it would be nice to have these keybindings:
>
> C-x v B - vc-switch-backend
> C-x v b c - vc-create-tag (maybe it should have an alias 'vc-create-branch'?)
> C-x v b l - vc-print-branch-log
> C-x v b s - vc-retrieve-tag (maybe it should have an alias
> 'vc-switch-branch'?)
> C-x v s - vc-log-search
> C-x v r - free, any ideas what to bind to it?
>
> Since `C-x v b' will show "C-x v b-" in the echo area,
> and `C-x v s' will show "Search log with pattern: " in the minibuffer.
> and `C-x v r' will show "C-x v r is undefined",
> I see no problem in adding all keybindings before the next release.
Maybe I should express this wish in a separate bug, but:
It would be nice if vc-create-tag allowed to specify start-point
conveniently:
git checkout -b new-branch-name START-POINT
Currently I do this in shell.
Filipp.
- bug#50344: C-x v keybinding for vc-print-branch-log, (continued)
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/07
- bug#50344: C-x v keybinding for vc-print-branch-log, Lars Ingebrigtsen, 2021/09/08
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/08
- bug#50344: C-x v keybinding for vc-print-branch-log, Juri Linkov, 2021/09/09
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/09
- bug#50344: C-x v keybinding for vc-print-branch-log, Juri Linkov, 2021/09/10
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/10
- bug#50344: C-x v keybinding for vc-print-branch-log, Lars Ingebrigtsen, 2021/09/10
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/10
- bug#50344: C-x v keybinding for vc-print-branch-log, Juri Linkov, 2021/09/13
- bug#50344: C-x v keybinding for vc-print-branch-log,
Filipp Gunbin <=
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/16
- bug#50344: C-x v keybinding for vc-print-branch-log, Filipp Gunbin, 2021/09/17
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/17
- bug#50643: bug#50344: C-x v keybinding for vc-print-branch-log, Juri Linkov, 2021/09/18
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/18
- bug#50344: C-x v keybinding for vc-print-branch-log, Juri Linkov, 2021/09/19
- bug#50643: bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/19
- bug#50643: bug#50344: C-x v keybinding for vc-print-branch-log, Juri Linkov, 2021/09/20
- bug#50344: C-x v keybinding for vc-print-branch-log, Dmitry Gutov, 2021/09/20
- bug#50344: C-x v keybinding for vc-print-branch-log, Filipp Gunbin, 2021/09/20