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 #34 received at 77306 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Sean Whitton <spwhitton <at> spwhitton.name>
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: Fri, 04 Apr 2025 23:17:51 -0400
> 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.


        Stefan





This bug report was last modified 45 days ago.

Previous Next


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