GNU bug report logs - #77306
31.0.50; C-x v L from *vc-change-log* buffer leaves wrong default-directory

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Thu, 27 Mar 2025 11:15: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 #37 received at 77306 <at> debbugs.gnu.org (full text, mbox):

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: dmitry <at> gutov.dev, 77306 <at> debbugs.gnu.org
Subject: Re: bug#77306: 31.0.50; C-x v L from *vc-change-log* buffer leaves
 wrong default-directory
Date: Sat, 05 Apr 2025 15:47:49 +0800
Hello,

On Fri 04 Apr 2025 at 11:17pm -04, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

>> Avoiding this problem by using a temporary buffer makes sense to me,
>> though, the FIXME would need to be resolved first :)
>
> FWIW, the FIXME applies to the current code as much as it does to the
> patched code, I think.
>
> IOW, my understanding is that this `setq` is meant to be executed in the
> buffer in which the print-log has been inserted, but I'm not completely
> sure that `vc-print-log-internal` will always switch to that buffer
> before exiting, hence the question.

Okay.  I think I'd be inclined to leave things how they are for now.
If some other aberrant behaviour, it may then become clear what to do.

-- 
Sean Whitton




This bug report was last modified 44 days ago.

Previous Next


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