From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6745: 24.0.50; vc-annotate should allow to configure the width of blame info Date: Mon, 09 May 2022 18:16:35 +0200 Message-ID: <87ee124r6k.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 6745@debbugs.gnu.org, Dmitry Gutov To: aneesh.kumar@linux.vnet.ibm.com (Aneesh Kumar K.V) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 18:17:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1no64O-0006Dg-I1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 18:17:12 +0200 Original-Received: from localhost ([::1]:40326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no64N-0006iu-4j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 12:17:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no64E-0006iP-92 for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 12:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no64E-0005jU-0l for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 12:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1no64D-0007Wq-Qb for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 12:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 May 2022 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6745 X-GNU-PR-Package: emacs Original-Received: via spool by 6745-submit@debbugs.gnu.org id=B6745.165211300928906 (code B ref 6745); Mon, 09 May 2022 16:17:01 +0000 Original-Received: (at 6745) by debbugs.gnu.org; 9 May 2022 16:16:49 +0000 Original-Received: from localhost ([127.0.0.1]:59247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no641-0007WA-IQ for submit@debbugs.gnu.org; Mon, 09 May 2022 12:16:49 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:44152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no63y-0007Vo-7E for 6745@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=; Original-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 ) id 1no63p-0007ey-45; Mon, 09 May 2022 18:16:39 +0200 X-Now-Playing: Kate Bush's _The Dreaming_: "Get Out Of My House" In-Reply-To: (Aneesh Kumar K. V.'s message of "Wed, 28 Jul 2010 20:25:11 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231762 Archived-At: aneesh.kumar@linux.vnet.ibm.com (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