unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Key binding to print VC root log from VC dir
@ 2013-07-24 21:41 Matthias Meulien
  2013-07-25 16:53 ` Glenn Morris
  2013-07-26  7:18 ` bug#14948: " Dmitry Gutov
  0 siblings, 2 replies; 8+ messages in thread
From: Matthias Meulien @ 2013-07-24 21:41 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

Severity: wishlist Tags: patch  From a buffer visiting a file 
under version control one has the following two key bindings to 
display logs:

          C-x v l runs the command vc-print-log

          C-x v L runs the command vc-print-root-log

From a buffer in `vc-dir-mode' one has the key binding:

          l runs the command vc-print-log

But there is no `vc-print-root-log' key binding...


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Key binding to print VC root log from VC dir --]
[-- Type: text/x-diff, Size: 886 bytes --]

From 58b23b29b45e2d3f17ed76e8ff010501d966d2c0 Mon Sep 17 00:00:00 2001
From: Matthias Meulien <orontee@gmail.com>
Date: Wed, 24 Jul 2013 23:39:51 +0200
Subject: [PATCH] lisp/vc/vc-dir.el (vc-dir-mode-map): Keybinding for
 vc-print-root-log

---
 lisp/vc/vc-dir.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 80f7849..325e66e 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -240,6 +240,7 @@ See `run-hooks'."
     (define-key map "i" 'vc-register)	   ;; C-x v i
     (define-key map "+" 'vc-update)	   ;; C-x v +
     (define-key map "l" 'vc-print-log)	   ;; C-x v l
+    (define-key map "L" 'vc-print-root-log) ;; C-x v L
     ;; More confusing than helpful, probably
     ;;(define-key map "R" 'vc-revert) ;; u is taken by vc-dir-unmark.
     ;;(define-key map "A" 'vc-annotate) ;; g is taken by revert-buffer
-- 
1.8.3.3


[-- Attachment #3: Type: text/plain, Size: 34 bytes --]


Thanks for reading,
-- 
Matthias

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

end of thread, other threads:[~2013-07-26 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 21:41 Key binding to print VC root log from VC dir Matthias Meulien
2013-07-25 16:53 ` Glenn Morris
2013-07-26 10:53   ` Matthias Meulien
2013-07-26  7:18 ` bug#14948: " Dmitry Gutov
2013-07-26  7:53   ` Stefan Monnier
2013-07-26  9:51     ` Juanma Barranquero
2013-07-26 13:36     ` Dmitry Gutov
2013-07-26 15:10       ` Stefan Monnier

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).