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); dated Wed, 28 Jul 2010 14:56:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed 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; 4 Jun 2022 18:47:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 04 14:47:02 2022
Received: from localhost ([127.0.0.1]:59648 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nxYne-0007mO-NI
	for submit <at> debbugs.gnu.org; Sat, 04 Jun 2022 14:47:02 -0400
Received: from mail-wr1-f41.google.com ([209.85.221.41]:39846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1nxYnc-0007lu-5O
 for 6745 <at> debbugs.gnu.org; Sat, 04 Jun 2022 14:47:00 -0400
Received: by mail-wr1-f41.google.com with SMTP id x17so14481402wrg.6
 for <6745 <at> debbugs.gnu.org>; Sat, 04 Jun 2022 11:47:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=sender:message-id:date:mime-version:user-agent:subject
 :content-language:to:cc:references:from:in-reply-to
 :content-transfer-encoding;
 bh=T/cVaUZZE5Ahy8/Jx/KuALn19vFQLfLWbQq8iQLI2ow=;
 b=oSYkaJM5ZnrbDqwkgy8Cdzb98IP8ZjbQII/FsnR4HBBQDmYM0so3R0G05oA3SddKRZ
 z1ogHPab6v2tLDIEH3foapqZU/dZH0vjBbGGu8DA3c15ymiJQO0291KOZayUUfNxUV00
 XZWtExo+ls81leNsk8lF6NO6K3rENIJ3XmFoCUyURhJ+H1+ZsDbuiyF9rpuDmdXaz/EB
 8U1X+6S27bCaHKGPGNJBFbpY/LHvI0bficOXPaYwRXWRFGieR3bBABXVGxdvxMsVHmPt
 3vVlZWj/WMyE31BLJib0Rp33rctcD9OUOaS4tD6I7PWsgHm08lJd4qkDczWcSrNNb9wS
 jgNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:sender:message-id:date:mime-version:user-agent
 :subject:content-language:to:cc:references:from:in-reply-to
 :content-transfer-encoding;
 bh=T/cVaUZZE5Ahy8/Jx/KuALn19vFQLfLWbQq8iQLI2ow=;
 b=dSjoT1l5ajThBcY4CLIQC8n/NnkPHMZsSAcry4irU03n2CiUWohNScQeq5ZRZI+wXr
 bT5XRyFcGxH3Em6ZKq+lphsOzqh+RFJN6jZxEEIQu74lwd5T+r9cDzy4YOCUTbXb6KYy
 NRrzVKcFhbrL6T3K6kqpDPQOF6pv0D2XoX26B5ZJ1qLjC9BM5cLSWFGaB0gk3yS7jjDS
 1MOhcGXJyany8X4cHSctGa0qRpyPNEdilORETFSTu8Z44YO5rc6s0ydnhOWC61BfhOPC
 SsYfHSgdE8rF3sSsCHElub3MH8v/iprT3QnEVaBh/ASPzXJ8y35SpGgKUwaGD572w1ax
 5+CA==
X-Gm-Message-State: AOAM531re8Gks2KOyueoHEG9WvHd8PTrOT8d0ZpiUDxK+JSOOvmhlmO1
 3lRUQy/WQJvlPeKNqUtX9Qg=
X-Google-Smtp-Source: ABdhPJxVDgGzDmSdlrA7PVzn/1YlMEPyRX6lEci4xw2pcaAzGMG3uM3Y3OLpZHTItTC+PXtd46CQuQ==
X-Received: by 2002:adf:a3d3:0:b0:213:baff:7654 with SMTP id
 m19-20020adfa3d3000000b00213baff7654mr8904278wrb.158.1654368414131; 
 Sat, 04 Jun 2022 11:46:54 -0700 (PDT)
Received: from [192.168.0.6] ([46.251.119.176])
 by smtp.googlemail.com with ESMTPSA id
 l19-20020a1ced13000000b0039c1396b495sm12430850wmh.9.2022.06.04.11.46.52
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 04 Jun 2022 11:46:53 -0700 (PDT)
Message-ID: <20cc7f8c-411d-d121-23c7-553d437615f3@HIDDEN>
Date: Sat, 4 Jun 2022 21:46:51 +0300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.9.1
Subject: Re: bug#6745: 24.0.50; vc-annotate should allow to configure the
 width of blame info
Content-Language: en-US
To: Lars Ingebrigtsen <larsi@HIDDEN>,
 "Aneesh Kumar K.V" <aneesh.kumar@HIDDEN>
References: <m3zkxbpsfk.fsf@HIDDEN> <87ee124r6k.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
In-Reply-To: <87ee124r6k.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 6745
Cc: 6745 <at> debbugs.gnu.org
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: -0.5 (/)

On 09.05.2022 19:16, Lars Ingebrigtsen wrote:
> 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,

               ^ temp buffer, probably

> 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).

IIRC there was a similar or related issue where Stefan M. suggested a 
similar course of action.

Nobody has taken up the work yet, though.




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

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


Received: (at 6745) by debbugs.gnu.org; 11 May 2022 18:41:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 11 14:41:01 2022
Received: from localhost ([127.0.0.1]:38467 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1norGf-0004DC-3U
	for submit <at> debbugs.gnu.org; Wed, 11 May 2022 14:41:01 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44392)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1norGc-0004Cx-QU
 for 6745 <at> debbugs.gnu.org; Wed, 11 May 2022 14:41:00 -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=3vMEohQz2Q8t8TrIz7bkD7RhCt/0fboRC6NMVNf32wM=; b=BLvKiWFO1EwG5BmO68ElrKthTt
 iWMTbUrwn0+c3LlD9pjUdouKV9p8Is9dQK/7mY5XOgjDExmfAMxWVdws5yTXPwUUV7gmU/y5jS+bB
 CLimORP+vaoKV1mBu0x5Er7+YSYdzRkzSaF2hpM4qpeBdm2qoi20ktXMQuFP5BWI+NeA=;
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 1norGS-0003CN-Oh; Wed, 11 May 2022 20:40:51 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#6745: 24.0.50; vc-annotate should allow to configure the
 width of blame info
References: <m3zkxbpsfk.fsf@HIDDEN> <87ee124r6k.fsf@HIDDEN>
 <86sfpgzcmd.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEX+/v7y7+rr6eXp
 49nUzcDTyLfc1Mfj3dS/sZuosMypsc3v6d7j2sv///+OPoBVAAAAAWJLR0QN9rRh9QAAAAd0SU1F
 B+YFCxImI20z3wYAAACFSURBVDjLY2AYnIBRAEgICGFKGDMwujAFhIRhaChPD+0QSw1tVUaXUS8q
 KzdScykrINbumatWzgQCIDFrFRJYySAopCgoKMAIJATVBZEAA0MSUBv3hmQgeQjVVcZlyYmswdFH
 U0PDDASQJYqNK4JsrJnOHDM+Yy2Aar/4QAf+KBgFgxQAAHwaJF3ORJNcAAAAJXRFWHRkYXRlOmNy
 ZWF0ZQAyMDIyLTA1LTExVDE4OjM4OjM1KzAwOjAwpAZEsAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy
 Mi0wNS0xMVQxODozODozNSswMDowMNVb/AwAAAAASUVORK5CYII=
X-Now-Playing: Scritti Politti's _Songs to Remember_: "Jacques Derrida"
Date: Wed, 11 May 2022 20:40:47 +0200
In-Reply-To: <86sfpgzcmd.fsf@HIDDEN> (Juri Linkov's message of "Wed, 
 11 May 2022 19:53:54 +0300")
Message-ID: <87k0ar6hg0.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: Juri Linkov <juri@HIDDEN> writes: > There is no such
 problem
 in the vc-git backend because it shows > short hashes, and also it's possible
 to make other parts shorter > by customizing vc-git-annotate-switches. 
 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, "Aneesh Kumar K.V" <aneesh.kumar@HIDDEN>,
 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 (---)

Juri Linkov <juri@HIDDEN> writes:

> There is no such problem in the vc-git backend because it shows
> short hashes, and also it's possible to make other parts shorter
> by customizing vc-git-annotate-switches.

If you want to make the "name" part 10 characters long (for instance), I
don't think there's any way to do that?  (At least I can't find the
relevant switch after skimming the manual.)

-- 
(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 6745 <at> debbugs.gnu.org:


Received: (at 6745) by debbugs.gnu.org; 11 May 2022 17:21:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 11 13:21:51 2022
Received: from localhost ([127.0.0.1]:38337 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1noq23-0001po-LO
	for submit <at> debbugs.gnu.org; Wed, 11 May 2022 13:21:51 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:44709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1noq21-0001pK-Ur
 for 6745 <at> debbugs.gnu.org; Wed, 11 May 2022 13:21:50 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id EDCFF24000C;
 Wed, 11 May 2022 17:21:41 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#6745: 24.0.50; vc-annotate should allow to configure the
 width of blame info
Organization: LINKOV.NET
References: <m3zkxbpsfk.fsf@HIDDEN> <87ee124r6k.fsf@HIDDEN>
Date: Wed, 11 May 2022 19:53:54 +0300
In-Reply-To: <87ee124r6k.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon,
 09 May 2022 18:16:35 +0200")
Message-ID: <86sfpgzcmd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 6745
Cc: 6745 <at> debbugs.gnu.org, "Aneesh Kumar K.V" <aneesh.kumar@HIDDEN>,
 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: -1.7 (-)

> 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?

There is no such problem in the vc-git backend because it shows
short hashes, and also it's possible to make other parts shorter
by customizing vc-git-annotate-switches.




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

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


Received: (at 6745) by debbugs.gnu.org; 9 May 2022 18:36:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 14:36:02 2022
Received: from localhost ([127.0.0.1]:59427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1no8Ej-0001QC-I0
	for submit <at> debbugs.gnu.org; Mon, 09 May 2022 14:36:02 -0400
Received: from quimby.gnus.org ([95.216.78.240]:45454)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1no8Eh-0001Op-Lc
 for 6745 <at> debbugs.gnu.org; Mon, 09 May 2022 14:36:00 -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=uOVN+z7PTtyPSBqe+XZfjMGfeiMW7/Tm48y/yin+mV4=; b=kniIvSPVwlFBw6Um468F8BMPYh
 jjGV6xs6FVCx80lx23ZiquknlZCNAx3FwBpBujb9bYKgIUOAf5uLcHb8amVyexmelrj9w6fmbGt8q
 vQJYapu46a2vgKYgIheCr2aOW7UrCG6mRujI4YokHvM1QdfjbcEx1+tACrClI8E08MFU=;
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 1no8EW-0000No-Jd; Mon, 09 May 2022 20:35:52 +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> <87ee124r6k.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEWTakWLkExqi2Nc
 hoJbZWF2mDx0XjacVDa+OS7SWzfaaEvllUL////FmuvDAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YF
 CREmIFx1+G4AAAGQSURBVDjLlZFBboNADEXdRYPUHZE4QAknCD1BwgUaafZZVGTLqg65QOgJynCC
 zhyhXK72eIABkUW/hAT/je3vAcDpKd6mrH1aeIkPcZywv8v3aT4Hio4eikOaZkFFTOcV6V2psVNB
 3Uclp3QdKAJpdhxajSShQSyZDuVZpjidHNm9OVCWAM++RkpcMgYk6aeUlHAGD9wk5QscAe4E9MSv
 3spzWn+fsQcSbTuB4ljAOQgcD41oOmAV7ug8hyCCUJTjw+2XAQ6CqIo+JSOzCZAqQLL9XV3YaUgD
 9L3cgjiTX7n0oskRuRv52kxgLtoOca0RdfDfjW6bthlF6S+SSXvx+x1Ra7i6F+T39ssTrFHDme+E
 QlCmq5zGWmtr5Z+PogXJZPHw0X6xk6Bix9iFjF6cG3wCCHZVoLsHwNj/VjwAejG6k6ykOdC685fZ
 robluwRraqq/LTekCoO6/kaCWprLKDejH+oDddCLfgV2tjNW0/+0c+AH4P02gr4PSW0DMNTIHzTL
 VjTWoZ8QGMnDvun+AJ1S4H6FTqoDAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTA5VDE3OjM4
 OjMyKzAwOjAwsmT7BwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0wOVQxNzozODozMiswMDow
 MMM5Q7sAAAAASUVORK5CYII=
X-Now-Playing: A Certain Ratio's _Sextet_: "Rub Down"
Date: Mon, 09 May 2022 20:35:45 +0200
In-Reply-To: <87ee124r6k.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon,
 09 May 2022 18:16:35 +0200")
Message-ID: <87ilqe3666.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: Lars Ingebrigtsen <larsi@HIDDEN> writes: > 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 [...] 
 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 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> 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.

We wouldn't have to implement this for all the backends -- we could bind
`C-x v g' to a command that does new-style annotations if the backend
supports it, and fall back to the current functions if they don't.

Oh, and we could also implement annotations for just a narrowed-to
region while we're at it.  (This has also been requested a few times.)

-- 
(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.
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, 4 Jul 2022 11:15:01 UTC

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