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 14:46:45 +0300

> From: Vladimir Sedach <[email-masked]>
> Cc: [email-masked]
> Date: Tue, 27 Jun 2023 18:07:27 -0600
> 
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > In any case, I don't think a fix (if we need one) should be so
> > complicated.  Why do we need all those changes, including making the
> > variable obsolete and moving the mode from its place in shell.el to
> > another place there?  If all you want is to make this variable
> > buffer-local, just making it buffer-local is all that's needed,
> > right?
> 
> shell-dirtrack-mode is already made buffer-local by
> define-minor-mode.
> 
> The problem is shell-dirtrackp and its default value.

So if we make it also buffer-local, the problem is gone, no?