GNU bug report logs - #78890
31.0.50; Messy vc-annotate buffer names

Previous Next

Package: emacs;

Reported by: Kristoffer Balintona <krisbalintona <at> gmail.com>

Date: Tue, 24 Jun 2025 10:43:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 78890 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Kristoffer Balintona <krisbalintona <at> gmail.com>
Cc: 78890 <at> debbugs.gnu.org
Subject: Re: bug#78890: 31.0.50; Messy vc-annotate buffer names
Date: Tue, 24 Jun 2025 13:50:18 +0200
[Message part 1 (text/plain, inline)]
On Tue, 24 Jun 2025 06:41:41 -0400 Kristoffer Balintona <krisbalintona <at> gmail.com> wrote:

> Hi,
>
> I've noticed a peculiarity with the names of the buffer created by
> vc-annotate. For instance, opening up vtable.el and calling vc-annotate,
> the initial vc-annotate buffer name is:
> 1. *Annotate vtable.el (rev f1737342518)*
> Then calling vc-annotate-prev-revision:
> 2. *Annotate *Annotate vtable.el (rev f1737342518)* (rev
> fdab542a56201b1581abdc0df940e0c50abde1c7)*
> Then calling vc-annotate-prev-revision again:
> 3. *Annotate *Annotate *Annotate vtable.el (rev f1737342518)* (rev
> fdab542a56201b1581abdc0df940e0c50abde1c7)* (rev
> 35e1ab970c1cfc6a1b62fbb920e0d2bb031765da)*
> and so on. As you can see, the file names become messy quickly.
>
> Would it be possible to have buffer names more like the following
> instead upon calls to vc-annotate-next-revision and
> vc-annotate-prev-revision?
> 1. *Annotate vtable.el (rev f1737342518)*
> 2. *Annotate vtable.el (rev fdab542a56201b1581abdc0df940e0c50abde1c7)*
> 3. *Annotate vtable.el (rev 35e1ab970c1cfc6a1b62fbb920e0d2bb031765da)*

Does the attached patch give the results you want?

Steve Berman
[Message part 2 (text/x-patch, attachment)]

This bug report was last modified 20 days ago.

Previous Next


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