GNU bug report logs - #6745
24.0.50; vc-annotate should allow to configure the width of blame info

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: aneesh.kumar@HIDDEN (Aneesh Kumar K.V); Keywords: moreinfo; dated Wed, 28 Jul 2010 14:56:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 6745 <at> debbugs.gnu.org:


Received: (at 6745) by debbugs.gnu.org; 9 May 2022 16:16:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 12:16:49 2022
Received: from localhost ([127.0.0.1]:59247 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1no641-0007WA-IQ
	for submit <at> debbugs.gnu.org; Mon, 09 May 2022 12:16:49 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44152)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1no63y-0007Vo-7E
 for 6745 <at> debbugs.gnu.org; Mon, 09 May 2022 12:16:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=UPVtfnB90bmX4ttB++7cG2yWb9XjnsqbmsTsbt1ZLBA=; b=kmW6dWeD78X2pQQ0oFvPqcMY8B
 LPrq/krg27G0n/vaD6yhzxocq9LJvZfBGnVZ7vPaXaq2RoqjZXgTUlQIzRqzBh+0PB5n73VEAF3Uz
 OLOxKomiPfqtfKVt3yXZWiYuefIhrBVJq6chtKfKxRJsbzc7l4QW6CR6hg3NHyfBBLmM=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1no63p-0007ey-45; Mon, 09 May 2022 18:16:39 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: aneesh.kumar@HIDDEN (Aneesh Kumar K.V)
Subject: Re: bug#6745: 24.0.50; vc-annotate should allow to configure the
 width of blame info
References: <m3zkxbpsfk.fsf@HIDDEN>
X-Now-Playing: Kate Bush's _The Dreaming_: "Get Out Of My House"
Date: Mon, 09 May 2022 18:16:35 +0200
In-Reply-To: <m3zkxbpsfk.fsf@HIDDEN> (Aneesh Kumar K. V.'s message
 of "Wed, 28 Jul 2010 20:25:11 +0530")
Message-ID: <87ee124r6k.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  aneesh.kumar@HIDDEN (Aneesh Kumar K.V) writes:
 > This is with vc-git.el. With C-x v g it would be nice to be able to >
 customize
 the width of blame info. That allows to see both the code > and associate
 sha1 on the same window. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6745
Cc: 6745 <at> debbugs.gnu.org, Dmitry Gutov <dgutov@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

aneesh.kumar@HIDDEN (Aneesh Kumar K.V) writes:

> This is with vc-git.el. With C-x v g it would be nice to be able to
> customize the width of blame info. That allows to see both the code
> and associate sha1 on the same window.

Yes, that would be great.  It has also been suggested that all the VC
backends should use the same format, and I think that could be done at
the same time.  (Even if they don't all have the same data available,
they generally have much in common.)

But to do that, I think we'd have to rework how vc-*-annotate-command
works.  I think they basically work by running the "blame" command for
the VC in a buffer, and then parsing/fontifying the output a bit?

To allow regularisation (and user customisation) of the output, I think
we'd have to redo that completely.  Instead the backends would dump the
output to a temp dir, we'd parse it completely, add it to some
structure, and then output the data into a buffer in the format we want.
(Something that looks a bit like tabulated-list-mode, but where the user
can, for instance, use commands to make columns disappear and appear as
they wish.)

I think that's more than doable, and worth doing.

I wonder whether anybody's had any concrete ideas in this direction
before (so I've added Dmitry to the CCs).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6745; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Jul 2010 14:55:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 28 10:55:20 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Oe82R-0000Sr-Iz
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2010 10:55:19 -0400
Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <aneesh.kumar@HIDDEN>) id 1Oe82P-0000Sk-HU
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2010 10:55:18 -0400
Received: from lists.gnu.org ([199.232.76.165]:40786)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <aneesh.kumar@HIDDEN>) id 1Oe82Z-00060P-Uk
	for submit <at> debbugs.gnu.org; Wed, 28 Jul 2010 10:55:27 -0400
Received: from [140.186.70.92] (port=58654 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Oe82X-0005A7-BY
	for bug-gnu-emacs@HIDDEN; Wed, 28 Jul 2010 10:55:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <aneesh.kumar@HIDDEN>) id 1Oe82W-0002bx-1q
	for bug-gnu-emacs@HIDDEN; Wed, 28 Jul 2010 10:55:25 -0400
Received: from e23smtp02.au.ibm.com ([202.81.31.144]:38490)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <aneesh.kumar@HIDDEN>) id 1Oe82V-0002bh-GV
	for bug-gnu-emacs@HIDDEN; Wed, 28 Jul 2010 10:55:24 -0400
Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.31.245])
	by e23smtp02.au.ibm.com (8.14.4/8.13.1) with ESMTP id o6SEpJxK018382
	for <bug-gnu-emacs@HIDDEN>; Thu, 29 Jul 2010 00:51:19 +1000
Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139])
	by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id
	o6SEtKNP1560604
	for <bug-gnu-emacs@HIDDEN>; Thu, 29 Jul 2010 00:55:20 +1000
Received: from d23av04.au.ibm.com (loopback [127.0.0.1])
	by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id
	o6SEtKnw017008
	for <bug-gnu-emacs@HIDDEN>; Thu, 29 Jul 2010 00:55:20 +1000
Received: from skywalker.linux.vnet.ibm.com ([9.124.210.16])
	by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id
	o6SEtEil016946
	for <bug-gnu-emacs@HIDDEN>; Thu, 29 Jul 2010 00:55:17 +1000
From: aneesh.kumar@HIDDEN (Aneesh Kumar K.V)
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.50; vc-annotate should allow to configure the width of blame info
User-Agent: Notmuch/0.3.1-58-g6607fd6 (http://notmuchmail.org) Emacs/24.0.50.1
	(i686-pc-linux-gnu)
Date: Wed, 28 Jul 2010 20:25:11 +0530
Message-ID: <m3zkxbpsfk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -6.6 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.6 (------)


This is with vc-git.el. With C-x v g it would be nice to be able to
customize the width of blame info. That allows to see both the code
and associate sha1 on the same window. Another option is to display the
source and commit in separate window thereby being able to scroll
them. But this have the issue that we will not be able to search both
the blame information and source at the same time. Limiting blame info
to a configuration 'x' character seems to be a nice trade off.

-aneesh





Acknowledgement sent to aneesh.kumar@HIDDEN (Aneesh Kumar K.V):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#6745; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 9 May 2022 16:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.