From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Key binding to print VC root log from VC dir Date: Wed, 24 Jul 2013 23:41:09 +0200 Message-ID: <87ehanmya2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1374701830 13003 80.91.229.3 (24 Jul 2013 21:37:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2013 21:37:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: bug-gnu-emacs@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 24 23:37:12 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V26kA-0003Yx-Bx for ged-emacs-devel@m.gmane.org; Wed, 24 Jul 2013 23:37:10 +0200 Original-Received: from localhost ([::1]:39172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V26kA-00029d-0M for ged-emacs-devel@m.gmane.org; Wed, 24 Jul 2013 17:37:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V26k3-00029H-Jk for emacs-devel@gnu.org; Wed, 24 Jul 2013 17:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V26k0-0002sx-Vv for emacs-devel@gnu.org; Wed, 24 Jul 2013 17:37:03 -0400 Original-Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:44657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V26k0-0002sp-PP; Wed, 24 Jul 2013 17:37:00 -0400 Original-Received: by mail-we0-f174.google.com with SMTP id q54so3683263wes.33 for ; Wed, 24 Jul 2013 14:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-type; bh=i7eQrkQjSL6Vslsl7fovuaX3z7b5RQJ05GNUTuRt7ZU=; b=nKEGwR76x5hjt+2hAd72YxIZeM9FlpiINH8CXw4wqb95BsB2cBfJCeq/rbpfkeN953 3rnJJ8WSlX+/SKHuwjhWhe848c6f+8n9GHXLn3CLmOZXE8dMyUAJ5bwIFrnHFip2tbyk 6SjM/DWg04YFnxbI7QzJk9BaDnEDvmwckZ+TzuFtIsj+Q/3O0WiRZlRKE+wnbKV0kzci Fl2ggbfSZqhFR1SYM0JWHHZkxglp6KWwXdhFAi3hGOpFuPHxFgDjkpyZx07cuaS/8dmj Zl2dhHzMJF8RRjwUrry1WvAP5BKHY3MNT7Tp4zuP2m5txkwVqWd3J/g6IwwuZ+VfDJjB UPUg== X-Received: by 10.194.240.201 with SMTP id wc9mr28496404wjc.1.1374701818767; Wed, 24 Jul 2013 14:36:58 -0700 (PDT) Original-Received: from choubidou.localdomain (jau31-3-82-239-20-84.fbx.proxad.net. [82.239.20.84]) by mx.google.com with ESMTPSA id hb2sm638587wib.0.2013.07.24.14.36.56 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 24 Jul 2013 14:36:57 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162117 gmane.emacs.bugs:76635 Archived-At: --=-=-= Content-Type: text/plain; format=flowed 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... --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=vc_dir_print_root_log.patch Content-Description: Key binding to print VC root log from VC dir >From 58b23b29b45e2d3f17ed76e8ff010501d966d2c0 Mon Sep 17 00:00:00 2001 From: Matthias Meulien 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 --=-=-= Content-Type: text/plain; format=flowed Thanks for reading, -- Matthias --=-=-=--