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 14:46:45 +0300
> From: Vladimir Sedach <vas <at> oneofus.la>
> Cc: 64311 <at> debbugs.gnu.org
> Date: Tue, 27 Jun 2023 18:07:27 -0600
> 
> 
> Eli Zaretskii <eliz <at> gnu.org> 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?




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

Previous Next


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