GNU bug report logs - #50344
C-x v keybinding for vc-print-branch-log

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Thu, 2 Sep 2021 18:46:01 UTC

Severity: wishlist

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>, 50344 <at> debbugs.gnu.org
Subject: bug#50344: C-x v keybinding for vc-print-branch-log
Date: Fri, 3 Sep 2021 02:24:09 +0300
On 02.09.2021 21:43, Juri Linkov wrote:
> So it makes sense to copy branch keys from vc-dir-mode-map
> to vc-prefix-map:
> 
> diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
> index 4b3c829a2c..d039c400c5 100644
> --- a/lisp/vc/vc-hooks.el
> +++ b/lisp/vc/vc-hooks.el
> @@ -865,6 +865,9 @@ vc-prefix-map
>     (let ((map (make-sparse-keymap)))
>       (define-key map "a" #'vc-update-change-log)
>       (define-key map "b" #'vc-switch-backend)
> +    (define-key map "Bc" #'vc-create-tag)
> +    (define-key map "Bl" #'vc-print-branch-log)
> +    (define-key map "Bs" #'vc-retrieve-tag)
>       (define-key map "d" #'vc-dir)
>       (define-key map "g" #'vc-annotate)
>       (define-key map "G" #'vc-ignore)

Makes sense to me as well. Thanks!

Do we want to remove the vc-retrieve-tag from 'C-x v r' sometime later? 
It does have a dual function (branches/tags and commits as well), but it 
would be nice to free this combination.




This bug report was last modified 2 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.