From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#6481: 23.2.50; vc-annotate-show-log-revision-at-line yields empty buffer Date: Mon, 21 Jun 2010 16:11:06 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277152152 14038 80.91.229.12 (21 Jun 2010 20:29:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2010 20:29:12 +0000 (UTC) Cc: 6481-done@debbugs.gnu.org To: Eric Hanchrow Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 21 22:29:06 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OQncA-0000Y2-5U for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Jun 2010 22:29:06 +0200 Original-Received: from localhost ([127.0.0.1]:39113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQnc9-0005dI-EF for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Jun 2010 16:29:05 -0400 Original-Received: from [140.186.70.92] (port=43024 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQnc3-0005d8-2C for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2010 16:29:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQnc1-0000zn-Tn for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2010 16:28:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59881) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQnc1-0000zj-SV for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2010 16:28:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OQnLe-0006zc-PW for bug-gnu-emacs@gnu.org; Mon, 21 Jun 2010 16:12:02 -0400 Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Jun 2010 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6481@debbugs.gnu.org, dann@gnu.org Original-Received: via spool by 6481-done@debbugs.gnu.org id=D6481.127715107326870 (code D ref 6481); Mon, 21 Jun 2010 20:12:02 +0000 Original-Received: (at 6481-done) by debbugs.gnu.org; 21 Jun 2010 20:11:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQnKq-0006zL-NN for submit@debbugs.gnu.org; Mon, 21 Jun 2010 16:11:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQnKp-0006zG-Bv for 6481-done@debbugs.gnu.org; Mon, 21 Jun 2010 16:11:11 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OQnKl-0007uo-2A; Mon, 21 Jun 2010 16:11:07 -0400 In-Reply-To: (Eric Hanchrow's message of "Sun\, 20 Jun 2010 15\:54\:51 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 21 Jun 2010 16:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37934 Archived-At: Eric Hanchrow writes: > I visited a file in a git working copy, and typed C-x v g to see the > "blame". In the resulting buffer, I typed "l". I saw (after a few > seconds) a *vc-change-log* buffer that was empty. Naturally, I expected > that buffer to contain a single log message from git, corresponding to > the commit ID on the line on which I typed "l". > > I think the problem is that the annotated buffer looks like this: > > ad470f08 lisp/vc-git.el (Dan Nicolaescu 2007-07-22 19:46:04 > +0000 1) ;;; vc-git.el --- VC backend for the git version control > system > ad470f08 lisp/vc-git.el (Dan Nicolaescu 2007-07-22 19:46:04 > +0000 2) > > ... and that the regexp in vc-git-annotate-extract-revision-at-line > matches from the end of the commit ID, all the way up to (but not > including) the first left-paren. So the file name being returned from > that function is "lisp/vc-git.el ", including the trailing spaces. Thanks, I checked in a similar patch to the emacs-23 branch. It will get merged to the trunk at some point.