GNU bug report logs - #21555
25.0.50; per-project *vc-change-log* buffers

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Thu, 24 Sep 2015 21:50:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 25.0.50

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

Full log


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

From: Matthias Meulien <orontee <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Tom Tromey <tom <at> tromey.com>, 21555 <at> debbugs.gnu.org,
 Sean Whitton <spwhitton <at> spwhitton.name>
Subject: Re: Subject: Re: bug#21555: 25.0.50;
 per-project *vc-change-log* buffers
Date: Wed, 28 May 2025 08:13:46 +0200
[Message part 1 (text/plain, inline)]
With rename-uniquely added to log-view-mode-hook, revert-buffer now display
another buffer. As a result after pressing g in a log view there's now two
almost identical buffers displayed... Is this working as expected or should
I open a bug report?

Matthias

Le dim. 25 mai 2025, 09:06, Matthias Meulien <orontee <at> gmail.com> a écrit :

> Le dim. 25 mai 2025 à 08:38, Juri Linkov <juri <at> linkov.net> a écrit :
>
>> >>>> However, all calls to vc-print-log use this same buffer.
>> >>>> This seems to be hard-coded in vc.el (vc-print-log-internal).
>> >>>>
>> >>>> I would like to be able to make it so that each use of "l" from a
>> >>>> *vc-dir* buffer gets its own *vc-change-log* buffer; and that "C-x v
>> l"
>> >>>> in some source file gets a separate buffer.  This way the per-project
>> >>>> change-log buffers could be relatively long-lived; as it is
>> recomputing
>> >>>> the data in them takes much too long.
>> >>>
>> >>> You can already do something similar by using C-x x u to rename the
>> >>> *vc-change-log* buffer, and then 'g' inside it works to regenerate it.
>> >>
>> >> Or (add-hook 'log-view-mode-hook 'rename-uniquely)
>> >
>> > Note that while browsing a change log buffer, when one runs the command
>> > `log-view-diff', the log buffer is not killed.
>> >
>> > For people like me who makes an heavy use of "C-x v l", "C-x v L" and
>> "l"
>> > in *vc-dir* buffers, it leads to have hundreds of *vc-change-log*
>> buffers
>> > at the end of the day…
>>
>> Indeed, hundreds of *vc-change-log* buffers is what I have.
>> But not a problem.  On the contrary, preserved buffers often help
>> to check for their previous content.
>>
>
> Ok, I'll try to live with that.
>
> For the record I attach two patchs that enable per projet change log and
> diff buffers.
>
> --
> Matthias
>
[Message part 2 (text/html, inline)]

This bug report was last modified 14 days ago.

Previous Next


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