From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20484: 25.0.50; Directory tracking in ansi-term broken. Date: Fri, 01 May 2015 22:17:47 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1430533099 10070 80.91.229.3 (2 May 2015 02:18:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 May 2015 02:18:19 +0000 (UTC) Cc: 20484@debbugs.gnu.org To: Jacob Oursland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 02 04:18:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YoN0K-0002X8-Pw for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 May 2015 04:18:09 +0200 Original-Received: from localhost ([::1]:55956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoN0J-0008HV-UY for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 22:18:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoN0G-0008HM-1X for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 22:18:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoN0F-0001Jb-3Z for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 22:18:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoN0F-0001Il-09 for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 22:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YoN0E-0002l3-Fb for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 22:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 May 2015 02:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20484 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20484-submit@debbugs.gnu.org id=B20484.143053307110582 (code B ref 20484); Sat, 02 May 2015 02:18:02 +0000 Original-Received: (at 20484) by debbugs.gnu.org; 2 May 2015 02:17:51 +0000 Original-Received: from localhost ([127.0.0.1]:59051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoN02-0002kc-If for submit@debbugs.gnu.org; Fri, 01 May 2015 22:17:50 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54614 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoN00-0002kU-Fd for 20484@debbugs.gnu.org; Fri, 01 May 2015 22:17:48 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YoMzz-0001A3-DD; Fri, 01 May 2015 22:17:47 -0400 X-Spook: bemd csystems Albania Adriatic colonel Saddam Hussein X-Ran: B+1e|y_omdA`'p46#7/[4w;B4MB8Z&:E[PXua`W&*@_ra*58+ZsO@S3c,g['T9^Y:Ldd-} X-Hue: green X-Attribution: GM In-Reply-To: (Jacob Oursland's message of "Fri, 01 May 2015 23:36:19 +0000") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102351 Archived-At: Jacob Oursland wrote: > 1. emacs -Q > 2. M-x ansi-term RET RET > 3. cd /tmp (or any other directory) > 4. C-x C-f > > Expected behavior: > Emacs will indicate the shell's working directory (/tmp) in the > find-file minibuffer prompt. > > Actual behavior: > Emacs indicates the Emacs working directory working directory ($HOME, > for me) in the find-file minibuffer prompt. I can reproduce this problem. > I found that if I revert commit aad65192332dfc4a1df0cd2953554c21da243b51 > the problem goes away. However, I cannot reproduce this commit being the problem. Since that commit only touches shell.el, which is not even loaded in the above recipe, it's hard to see how it could be. Instead I find commit beaab89896 ("Stop messing with the EMACS env var") causes this. But that was just a quick experiment, not a proper bisection.