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


View this message in rfc822 format

From: Jim Porter <jporterbugs <at> gmail.com>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: Stephen Berman <stephen.berman <at> gmx.net>, Kristoffer Balintona <krisbalintona <at> gmail.com>, 78890 <at> debbugs.gnu.org
Subject: bug#78890: 31.0.50; Messy vc-annotate buffer names
Date: Thu, 26 Jun 2025 12:13:57 -0700
On 6/26/2025 11:27 AM, Sean Whitton wrote:
> I'm more concerned about an actual clash in buffer names between files
> with the same name in different directories.  What do you think about
> that?

I think it would be fairly rare for us not to have the original buffer 
in the first place, but it would be even rarer to additionally have some 
*other* buffer with the same (non-directory) buffer name. Since the 
potential for confusion only comes up after two relatively rare 
conditions, I'd be ok with just the non-directory part of the file name 
in the Annotate buffer name.

The ideal would be a function like, "What would the buffer name for this 
file be *if* I visited it?" A cursory look didn't show anything like 
that though.

That said, since the first condition above is also probably rare, I 
wouldn't be *that* upset if we showed the full file name in that case. 
How often could it come up anyway?




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.