From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64311: [PATCH] Fix shell-dirtrack-mode showing up as enabled in unrelated buffers Date: Tue, 27 Jun 2023 14:18:57 +0300 Message-ID: <83h6qtw3tq.fsf@gnu.org> References: <87pm5h4iy1.fsf@t510.orion.oneofus.la> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4735"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64311@debbugs.gnu.org To: Vladimir Sedach Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 27 13:19:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qE6j6-000113-C1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Jun 2023 13:19:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qE6iu-00047k-9Z; Tue, 27 Jun 2023 07:19:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE6is-00047I-Vf for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 07:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qE6is-0005XJ-N6 for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 07:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qE6is-0008FX-12 for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jun 2023 11:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64311-submit@debbugs.gnu.org id=B64311.168786472731689 (code B ref 64311); Tue, 27 Jun 2023 11:19:01 +0000 Original-Received: (at 64311) by debbugs.gnu.org; 27 Jun 2023 11:18:47 +0000 Original-Received: from localhost ([127.0.0.1]:47749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE6ic-0008F2-UK for submit@debbugs.gnu.org; Tue, 27 Jun 2023 07:18:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE6ia-0008Ep-NY for 64311@debbugs.gnu.org; Tue, 27 Jun 2023 07:18:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE6iU-0005M2-Ti; Tue, 27 Jun 2023 07:18:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5FXb1t86rpXN5CrI8/TmLV0QNAtZasQ27+tfG8TobBQ=; b=bqH6pmtk9UGk YHCZOhFe4E+Y4PTDwtC/PN3Hw8u802u6NTPS5mnvR5CqgMQiK3NlhMbmALvRneC20t1Y8BjjXzFNC VaeQ1RSjeP1EysIPN6IyDIAJmDw4MQT8MWn2aqtc0HPQ58uhRKFZ48PNu3w9HpF9cuRtH7/Vl6Bn2 83O986RQTdnJ7WG1oHN6t64dkKFlJxP5Cubh4Q7IcL2Nd+ysCrSMInw02OeRjzhrXp5Hfr3rnGRo8 DVzVUL+uTaIVx0RSuXRQeGNayREHEHBfMO9XDx83X5zYOAxZurfKlgxsKv8ej6j2RbG9tZYO1iHxY AnKeEUF8EqfDEA+XheL8Zg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE6iR-0007F3-8W; Tue, 27 Jun 2023 07:18:37 -0400 In-Reply-To: <87pm5h4iy1.fsf@t510.orion.oneofus.la> (message from Vladimir Sedach on Mon, 26 Jun 2023 22:39:50 -0600) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264145 Archived-At: > From: Vladimir Sedach > Date: Mon, 26 Jun 2023 22:39:50 -0600 > > Fix shell-dirtrack-mode showing up as enabled in unrelated buffers > > shell-dirtrack-mode always shows up in unrelated buffers. > > Steps to reproduce: > 1. emacs -q > 2. M-x shell > 3. describe-mode (C-h m) in *scratch* or *GNU Emacs* In what version of Emacs do you see this? (You didn't include in your report the information collected by "M-x report-emacs-bug", so I cannot know what version and on what OS are you using.) I cannot reproduce this in Emacs 29: "C-h m" after "M-x shell" shows shell-dirtrack-mode only in the *shell* buffer. I do see it in *scratch* in Emacs 28, so I guess we already fixed this? > Note: I am not sure what to put for WHEN on the obsolete variable. > Does that get filled in when merging? No, you need to specify it explicitly. It's the first Emacs version where the variable was declared obsolete, in this case "30.1". (But meanwhile I don't think we need to install this.) Thanks.