From: Matthias Meulien <orontee@gmail.com>
To: bug-gnu-emacs@gnu.org
Cc: emacs-devel@gnu.org
Subject: Key binding to print VC root log from VC dir
Date: Wed, 24 Jul 2013 23:41:09 +0200 [thread overview]
Message-ID: <87ehanmya2.fsf@gmail.com> (raw)
[-- 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
next reply other threads:[~2013-07-24 21:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 21:41 Matthias Meulien [this message]
2013-07-25 16:53 ` Key binding to print VC root log from VC dir 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 7:53 ` Stefan Monnier
2013-07-26 9:51 ` Juanma Barranquero
2013-07-26 9:51 ` Juanma Barranquero
2013-07-26 13:36 ` Dmitry Gutov
2013-07-26 13:36 ` Dmitry Gutov
2013-07-26 15:10 ` Stefan Monnier
2013-07-26 15:10 ` Stefan Monnier
2013-07-27 0:11 ` Xue Fuqiao
2013-07-27 11:57 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehanmya2.fsf@gmail.com \
--to=orontee@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.