From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: Re: vc-git-show-log-entry Date: Mon, 20 Oct 2008 13:20:37 -0700 Message-ID: References: <200810201819.m9KIJ6Wh024634@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224543302 15957 80.91.229.12 (20 Oct 2008 22:55:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 22:55:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 21 00:56:02 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ks1GD-00042Q-Fj for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 22:21:53 +0200 Original-Received: from localhost ([127.0.0.1]:40405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks1F8-0001yO-6V for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 16:20:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ks1F3-0001y5-7Z for emacs-devel@gnu.org; Mon, 20 Oct 2008 16:20:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ks1F0-0001xe-Qp for emacs-devel@gnu.org; Mon, 20 Oct 2008 16:20:39 -0400 Original-Received: from [199.232.76.173] (port=59403 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks1F0-0001xb-LC for emacs-devel@gnu.org; Mon, 20 Oct 2008 16:20:38 -0400 Original-Received: from roar.cs.berkeley.edu ([128.32.36.242]:39495 helo=roar.quarl.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks1F0-0001Fd-Aq for emacs-devel@gnu.org; Mon, 20 Oct 2008 16:20:38 -0400 Original-Received: by roar.quarl.org (Postfix, from userid 18378) id 0F77D34452; Mon, 20 Oct 2008 13:20:37 -0700 (PDT) X-Quack-Archive: 1 In-Reply-To: <200810201819.m9KIJ6Wh024634@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Mon\, 20 Oct 2008 11\:19\:06 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104702 Archived-At: >>>>> On 2008-10-20 11:19 PDT, Dan Nicolaescu writes: Dan> Karl Chen writes: >> visiting a git-versioned file, when I do `vc-print-log', >> point always moves to the end of the buffer instead of the >> beginning. Dan> It's hard to say what problem you are trying to report. Dan> Can you please try again with a step by step description Dan> of what you are doing, what are the results you are Dan> getting and what are the expected results. Please start Dan> from emacs -Q Please use emacs from CVS HEAD. It's Dan> unlikely that another release will be made from the 22.x Dan> branch. git init date > f1 ; git add *; git commit -m commit1 date >> f1 ; git add *; git commit -m commit2 emacs -Q f1 C-x C-v l ; point moves to the end of the *vc-change-log* buffer instead of ; the beginning. As I said, if you undo the latest commit to vc-git.el, that fixes it, but I suggest this replacement altogether. (defun vc-git-show-log-entry (rev) (log-view-goto-rev (vc-git-rev-parse rev)))