From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colton Goates Newsgroups: gmane.emacs.bugs Subject: bug#74524: 29.4; dirtrack-mode Date: Sun, 24 Nov 2024 20:55:37 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bf65350627b4b670" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8713"; mail-complaints-to="usenet@ciao.gmane.io" To: 74524@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 25 09:19:40 2024 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 1tFUJo-0001zB-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Nov 2024 09:19:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFUJN-00035v-NZ; Mon, 25 Nov 2024 03:19:13 -0500 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 1tFUJE-0002zI-Lo for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 03:19:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFUJE-0000WH-Bc for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 03:19:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=XHKXYevxsw5pGomR+gx77G1mC1X5ysV27Y3JqCvqz+4=; b=iOM+FBUf0OYt3sZcIwBuB2QzVnd+ArZyp3Oyt3bmPGGQV7zPlzDBItGgyZJQa1QKzymAVf1EsyV+5HKPWcm5F5VrdTsj3tcQ7iDUMAOe/ksaPyeKkWLiBXC5EfrIRRn++rx5vmY0R9lCd5j8aj7lh2PbbZViBvTClL2YO3F9UO+SVQ4unmsvKqQIe8P7QY1BcSCWtaV4r1L+9gKTH/07gFwj/otaUdEK99CJ6vpoPmSQwcaTqfEeKBmLF2xEbv+ng+pcEqPQZ+x+/ACihwnrijV5ukbLu8Oa4EN65ikWAqCh4Md340YJ3rOxDNn+Gr1YDWhYUliDQPUrqG5xLWsEFQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFUJC-000232-DU for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 03:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Colton Goates Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Nov 2024 08:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74524 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17325227217836 (code B ref -1); Mon, 25 Nov 2024 08:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Nov 2024 08:18:41 +0000 Original-Received: from localhost ([127.0.0.1]:37748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFUIq-00022J-7n for submit@debbugs.gnu.org; Mon, 25 Nov 2024 03:18:41 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFQCw-0006FO-Ar for submit@debbugs.gnu.org; Sun, 24 Nov 2024 22:56:22 -0500 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 1tFQCw-0007HA-4k for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 22:56:18 -0500 Original-Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFQCt-0001PS-RN for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 22:56:17 -0500 Original-Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-e3889bc7ec6so3724178276.1 for ; Sun, 24 Nov 2024 19:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732506974; x=1733111774; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XHKXYevxsw5pGomR+gx77G1mC1X5ysV27Y3JqCvqz+4=; b=PBypr7toIzBba6uI3cbrZPggqh0EVYF4++zd553TOH1EVCA1fCodR0WsuQy96424sG 9GW9p/0NfcOa4y7v1/5wuE0cno5LiuBBA1ii7EConHIO06yyvbxaRmBhQHR4IN1xxUxQ SHYXCSUW7E+/KbG5M/rwqeDCr1srN2tfHzqEOHmjHifE1y1f14aHLaHGJPT6AEPR/e0Z r4Ca4/1WvZoDiXExhMSKmoqvC8BzheqgpinbOBoxHEZg0vDgDDm8BPMEBLpqWvvbl65q Y93MXZsDI+FSlzn70ny0HyXVxnvVpsMxiWPElUKvXw7dOPHEB9op3aipl6VAL7TRZTtj wAVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732506974; x=1733111774; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XHKXYevxsw5pGomR+gx77G1mC1X5ysV27Y3JqCvqz+4=; b=AbFvCkJPuiJ7f7MyK9Kkig2zRXOvMYqL5jYohHDLKBxJt+k11Q6+h7othFqFWUckI8 WFAAzBLM1NDKdCiF62e8DwAVSivo4mUSiqDe3j1xHNxRj83qh/XayFxyAzEKRZsrvzXr BOlphvUCQeOec061ZKpqcaBnG2Ntm15T/kSJfn3OG9yRHS+6osZuCc1MDrIxb4jGZzkI BisF+TrQrrJAf3LPb9kN9Q3ytQZp9O7d7jzzCRWsPn6tRThiKp06t5QJFHuGMVEokvHH RobtWrakRpsZV+sC9GOiXUeXV84wyQBB3xBdXMj/zMmJGm6Xa70wStyKBG44R4euCDib X0Ug== X-Gm-Message-State: AOJu0YyHG7EUDfSNMpqRjtJGSlDcwhbPJ7NpSNQBkD1QVR3cgN/im/Of ixG030hLjZhKfJQtCCnaUmE50Ey+5+moIzpRYFcfHVSO7+g5CsMzMy2hqtSoMKlv1NecNghPOB9 KGs7q7pQ7vYZ3dLvt+xYAQRk+dXR81Nem X-Gm-Gg: ASbGncuCvsKlOcp97kBQzy+/cQL/oZkCPmcBXRYeH8YhTZMY0N/fJFd8R+6U8INPvFh ugNWQL6WJ8k8WA4pRIEFauGYm2RC4mFmMFPisa31nNsJnl19dGUS9WhMpOgQCyw== X-Google-Smtp-Source: AGHT+IGtKPVoTAq9atgccox9PriwAWz530YiBWZEs0Kdk0+/zoT0gktHW8iKysqit0PcmR/QQ+u71STKdL8PlifFIdI= X-Received: by 2002:a05:6902:2e84:b0:e2e:4315:5503 with SMTP id 3f1490d57ef6-e38f8c27a78mr9516173276.51.1732506973854; Sun, 24 Nov 2024 19:56:13 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=coltongoates@gmail.com; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 25 Nov 2024 03:18:39 -0500 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:295936 Archived-At: --000000000000bf65350627b4b670 Content-Type: text/plain; charset="UTF-8" In a shell, running a command like the following causes a problem with dirtrack-mode: echo 'Coltons-MacBook-Pro:/Users/coltongoates/software-dev/$' After running this command, dirtrack thinks I changed to a different directory based on the output, and it sets the default-directory variable to the output of the echo command. Thus, the actual working directory and shell directory are out of sync. In GNU Emacs 29.4 (build 1, x86_64-apple-darwin23.4.0) of 2024-10-04 built on Sonoma System Description: macOS 15.1.1 Configured using: 'configure --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/29.4_1/share/info/emacs --prefix=/usr/local/Cellar/emacs/29.4_1 --with-gnutls --without-x --with-xml2 --without-dbus --with-modules --without-ns --without-imagemagick --without-selinux --with-tree-sitter' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE PDUMPER SQLITE3 THREADS TREE_SITTER ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: dirtrack-debug-mode: t dirtrack-mode: t comint-fontify-input-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dnd dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp cl-print cl-extra mode-local find-func thingatpt help-fns radix-tree help-mode tool-bar misearch multi-isearch vc-git diff-mode easy-mmode vc-dispatcher pcmpl-unix sh-script rx smie treesit cl-seq cl-loaddefs cl-lib executable dirtrack files-x shell subr-x pcomplete comint regexp-opt ansi-osc ansi-color ring term/xterm xterm byte-opt gv bytecomp byte-compile ls-lisp mwheel rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue multi-tty make-network-process emacs) Memory information: ((conses 16 80404 8799) (symbols 48 8210 0) (strings 32 27749 1825) (string-bytes 1 749593) (vectors 16 14814) (vector-slots 8 174891 10453) (floats 8 40 600) (intervals 56 668 0) (buffers 984 17)) --000000000000bf65350627b4b670 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In a shell, running a command like the following causes a = problem with dirtrack-mode:

=C2=A0=C2=A0=C2=A0 echo 'Coltons-Mac= Book-Pro:/Users/coltongoates/software-dev/$'

After running this = command, dirtrack thinks I changed to a different
directory based on the= output, and it sets the default-directory
variable to the output of the= echo command. Thus, the actual working
directory and shell directory ar= e out of sync.

In GNU Emacs 29.4 (build 1, x86_64-apple-darwin23.4.0= ) of 2024-10-04
built on Sonoma
System Description: =C2=A0macOS 15.1.= 1

Configured using:
'configure --disable-silent-rules
--en= able-locallisppath=3D/usr/local/share/emacs/site-lisp
--infodir=3D/usr/l= ocal/Cellar/emacs/29.4_1/share/info/emacs
--prefix=3D/usr/local/Cellar/e= macs/29.4_1 --with-gnutls --without-x
--with-xml2 --without-dbus --with-= modules --without-ns
--without-imagemagick --without-selinux --with-tree= -sitter'

Configured features:
ACL GMP GNUTLS JSON LIBXML2 MOD= ULES NOTIFY KQUEUE PDUMPER SQLITE3
THREADS TREE_SITTER ZLIB

Impor= tant settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-codin= g-system: utf-8-unix

Major mode: Shell

Minor modes in effect:=
=C2=A0 dirtrack-debug-mode: t
=C2=A0 dirtrack-mode: t
=C2=A0 comi= nt-fontify-input-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-m= ode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
= =C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-= mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 auto-composition-mode: t=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

L= oad-path shadows:
None found.

Features:
(shadow sort mail-extr= emacsbug message mailcap yank-media puny dired
dnd dired-loaddefs rfc82= 2 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-uti= l text-property-search time-date mm-decode
mm-bodies mm-encode mail-pars= e rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-= drums mm-util mail-prsvr mail-utils pp
cl-print cl-extra mode-local find= -func thingatpt help-fns radix-tree
help-mode tool-bar misearch multi-is= earch vc-git diff-mode easy-mmode
vc-dispatcher pcmpl-unix sh-script rx = smie treesit cl-seq cl-loaddefs
cl-lib executable dirtrack files-x shell= subr-x pcomplete comint
regexp-opt ansi-osc ansi-color ring term/xterm = xterm byte-opt gv
bytecomp byte-compile ls-lisp mwheel rmc iso-transl to= oltip cconv eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float= -type elisp-mode
tabulated-list replace newcomment text-mode lisp-mode p= rog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu tim= er select mouse
jit-lock font-lock syntax font-core term/tty-colors fram= e minibuffer
nadvice seq simple cl-generic indonesian philippine cham ge= orgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean<= br>japanese eucjp-ms cp51932 hebrew greek romanian slovak czech europeanethiopic indian cyrillic chinese composite emoji-zwj charscript charpropcase-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-prel= oaded button loaddefs theme-loaddefs faces cus-face macroexp
files windo= w text-properties overlay sha1 md5 base64 format env
code-pages mule cus= tom widget keymap hashtable-print-readable backquote
threads kqueue mult= i-tty make-network-process emacs)

Memory information:
((conses 16= 80404 8799)
(symbols 48 8210 0)
(strings 32 27749 1825)
(string-b= ytes 1 749593)
(vectors 16 14814)
(vector-slots 8 174891 10453)
(f= loats 8 40 600)
(intervals 56 668 0)
(buffers 984 17))
--000000000000bf65350627b4b670--