Subject: Re: bug#64311: [PATCH] Fix shell-dirtrack-mode showing up as enabled in unrelated buffers

From: Eli Zaretskii <[email-masked]>
Date: Wed, 28 Jun 2023 21:31:33 +0300

> From: Vladimir Sedach <[email-masked]>
> Cc: [email-masked]
> Date: Wed, 28 Jun 2023 10:43:35 -0600
> 
> 
> Eli Zaretskii <[email-masked]> 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?