unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27644: 26.0.50; [PATCH] Add binding for vc-region-history
@ 2017-07-10 18:43 Kaushal Modi
  2017-09-20 14:03 ` Kaushal Modi
  0 siblings, 1 reply; 18+ messages in thread
From: Kaushal Modi @ 2017-07-10 18:43 UTC (permalink / raw)
  To: 27644


[-- Attachment #1.1: Type: text/plain, Size: 390 bytes --]

Hello,

I have been using "C-x v H" binding for vc-region-history for a year and it
has been super-convenient for me for the instances of "I wonder who made
changes to this/these line(s) and when..".

Also the "H" binding is still unused in vc-prefix-map and a good mnemonic
for "history" too.

The attached patch binds vc-region-history to "H" in vc-prefix-map.

Thanks.
-- 

Kaushal Modi

[-- Attachment #1.2: Type: text/html, Size: 669 bytes --]

[-- Attachment #2: 0001-Bind-vc-region-history.patch --]
[-- Type: application/octet-stream, Size: 816 bytes --]

From 483fa8ccee7d6c662f06b8222926a3aac416b258 Mon Sep 17 00:00:00 2001
From: Kaushal Modi <kaushal.modi@gmail.com>
Date: Mon, 10 Jul 2017 14:38:17 -0400
Subject: [PATCH] Bind vc-region-history

* lisp/vc/vc-hooks.el (vc-prefix-map): Add key binding for
  vc-region-history
---
 lisp/vc/vc-hooks.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 2c2534a034..6c1389230c 100644
--- a/lisp/vc/vc-hooks.el
+++ b/lisp/vc/vc-hooks.el
@@ -883,6 +883,7 @@ vc-prefix-map
     (define-key map "g" 'vc-annotate)
     (define-key map "G" 'vc-ignore)
     (define-key map "h" 'vc-insert-headers)
+    (define-key map "H" 'vc-region-history)
     (define-key map "i" 'vc-register)
     (define-key map "l" 'vc-print-log)
     (define-key map "L" 'vc-print-root-log)
-- 
2.13.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-09-30 14:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-10 18:43 bug#27644: 26.0.50; [PATCH] Add binding for vc-region-history Kaushal Modi
2017-09-20 14:03 ` Kaushal Modi
2017-09-20 14:15   ` Eli Zaretskii
2017-09-21  3:01     ` Kaushal Modi
2017-09-28 18:23       ` Kaushal Modi
2017-09-29 11:54         ` Dmitry Gutov
2017-09-29 11:59           ` Kaushal Modi
2017-09-29 16:43             ` Kaushal Modi
2017-09-29 17:31             ` John Wiegley
2017-09-29 17:22           ` Eli Zaretskii
2017-09-29 17:39             ` Stefan Monnier
2017-09-29 18:16               ` Eli Zaretskii
2017-09-29 18:32                 ` Kaushal Modi
2017-09-30 14:03                   ` Dmitry Gutov
2017-09-30 14:12                     ` Kaushal Modi
2017-09-21 14:22     ` Dmitry Gutov
2017-09-21 14:41       ` Eli Zaretskii
2017-09-21 15:29         ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).