GNU bug report logs - #64311
[PATCH] Fix shell-dirtrack-mode showing up as enabled in unrelated buffers

Previous Next

Package: emacs;

Reported by: Vladimir Sedach <vas <at> oneofus.la>

Date: Tue, 27 Jun 2023 06:30:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vladimir Sedach <vas <at> oneofus.la>
Cc: 64311 <at> debbugs.gnu.org
Subject: bug#64311: [PATCH] Fix shell-dirtrack-mode showing up as enabled in unrelated buffers
Date: Wed, 28 Jun 2023 21:31:33 +0300
> From: Vladimir Sedach <vas <at> oneofus.la>
> Cc: 64311 <at> debbugs.gnu.org
> Date: Wed, 28 Jun 2023 10:43:35 -0600
> 
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > So if we make it also buffer-local, the problem is gone, no?
> 
> --8<---------------cut here---------------start------------->8---
> (local-variable-if-set-p 'shell-dirtrackp)
> t
> --8<---------------cut here---------------end--------------->8---
> 
> shell-dirtrackp is already buffer-local. Aliased variables share that property.

So what exactly is the problem now?  You said:

> The problem is shell-dirtrackp and its default value.

But if this is buffer-local, then why is it a problem that it's
non-nil?





This bug report was last modified 1 year and 321 days ago.

Previous Next


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