From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aneesh Kumar K. V" Newsgroups: gmane.emacs.bugs Subject: bug#6709: 24.0.50; With semantic-mode enabled mo-git-blame-current gives a post-command-hook error Date: Tue, 27 Jul 2010 10:45:17 +0530 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 1280209095 16386 80.91.229.12 (27 Jul 2010 05:38:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2010 05:38:15 +0000 (UTC) Cc: 6709@debbugs.gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 27 07:38:13 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 1Odcrg-0006HH-IG for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 07:38:09 +0200 Original-Received: from localhost ([127.0.0.1]:60366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Odcra-0001s1-Jt for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 01:38:02 -0400 Original-Received: from [140.186.70.92] (port=44019 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdcrP-0001rD-6g for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 01:37:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdcrN-0007Zh-Dl for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 01:37:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37098) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdcrN-0007Zd-CB for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 01:37:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdcWH-0001e4-N7; Tue, 27 Jul 2010 01:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Aneesh Kumar K. V" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jul 2010 05:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6709-submit@debbugs.gnu.org id=B6709.12802077196313 (code B ref 6709); Tue, 27 Jul 2010 05:16:01 +0000 Original-Received: (at 6709) by debbugs.gnu.org; 27 Jul 2010 05:15:19 +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 1OdcVa-0001dm-Nv for submit@debbugs.gnu.org; Tue, 27 Jul 2010 01:15:19 -0400 Original-Received: from e28smtp04.in.ibm.com ([122.248.162.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdcVY-0001db-5T for 6709@debbugs.gnu.org; Tue, 27 Jul 2010 01:15:17 -0400 Original-Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by e28smtp04.in.ibm.com (8.14.4/8.13.1) with ESMTP id o6R5FJYr017717 for <6709@debbugs.gnu.org>; Tue, 27 Jul 2010 10:45:19 +0530 Original-Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o6R5FIrK3383330 for <6709@debbugs.gnu.org>; Tue, 27 Jul 2010 10:45:19 +0530 Original-Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o6R5FIId011776 for <6709@debbugs.gnu.org>; Tue, 27 Jul 2010 10:45:18 +0530 Original-Received: from skywalker.linux.vnet.ibm.com ([9.124.35.77]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o6R5FIVC011773; Tue, 27 Jul 2010 10:45:18 +0530 In-Reply-To: User-Agent: Notmuch/0.3.1-58-g6607fd6 (http://notmuchmail.org) Emacs/24.0.50.1 (i686-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Jul 2010 01:16:01 -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:38969 Archived-At: On Mon, 26 Jul 2010 17:41:26 -0400, Dan Nicolaescu wrote: > "Aneesh Kumar K. V" writes: > > > On Sat, 24 Jul 2010 01:23:15 -0400, Dan Nicolaescu wrote: > >> aneesh.kumar@linux.vnet.ibm.com writes: > >> > >> > Here is how to reproduce > >> > > >> > mo-git-blame can be downloaded from > >> > > >> > git://git.bunkus.org/mo-git-blame.git > >> > > >> > emacs -Q > >> > M-x load-file mo-git-blame-el > >> > open a file in git repository > >> > M-x mo-git-blame-current > >> > > >> > We will see the error > >> > > >> > Running 'git cat-file'... done > >> > Running 'git blame'... > >> > Error in post-command-hook: (wrong-type-argument arrayp nil) > >> > Git finished. > >> > Running 'git blame'... done > >> > > >> > The error actually disable scroll-all-mode. So further scrolling doesn't > >> > cause both windows to scroll > >> > >> Not really related to your bug report, but from the name it looks like mo-git-blame is a package for > >> using "git blame". Can you please tell us what it has that we are > >> missing in C-x v g ? > > > > I quickly tried C-x v g. This is what i found > > Thanks for doing this! > > > > 1) No incremental blame support. That is we have to wait for the entire > > history to be available. > > Does this make a difference in real life? Yes. > You might want to file a bug report for this, maybe it will get > implemented. Will do > > > 2) ability to blame previous version/next version in the blame window > > Isn't that functionality available using the p n a j w keys? Please > see the VC-annotate menu for the command names. These commands should > work even in the presence of renamed and moved files. > > > 3) Ability to show the commit information on selecting the commit. > > You can get the diff (using D) and the log (using L). This might need > another bug report, if git users think it's important it can be > implemented in about 3-4 lines of code... > > > 4) No scroll-all-window support so that boththe annotation information > > and source code will scroll together > > The two-column.el package should help doing that... > > Maybe we need to ask the author of mo-git-blame-el if he wants to > implement these features in vc-annotate.el... I didn't really read the help to find whether these features are supported. Now I find that i should be able to use vc-annotate.el for all the my usecase. But i find that with vc enabled an open on the file takes considerably more time than with vc disabled using (setq vc-handled-backends nil) -aneesh