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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, 77306 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: bug#77306: 31.0.50; C-x v L from *vc-change-log* buffer leaves wrong default-directory
Date: Thu, 03 Apr 2025 12:52:51 -0400
>     Dmitry> Yeah, I don't have a better suggestion.
> Doe `setq-local' not adjust the buffer-local value? What am I missing?

It does, but the `let` is also currently affecting just that
buffer-local value.  IOW, it's a `setq-local` within a `let-local`,
which thus behaves just like a normal `setq` within a normal `let`: the
effect of the `setq` disappears when we exit the `let`.






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.