GNU bug report logs - #14357
24.3; Directory tracking in ansi-term broken

Previous Next

Package: emacs;

Reported by: "Olsen, Stuart J" <stuart_olsen <at> txstate.edu>

Date: Tue, 7 May 2013 00:14:02 UTC

Severity: normal

Tags: fixed

Found in versions 24.3, 25.3

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: "Olsen, Stuart J" <stuart_olsen <at> txstate.edu>, 14357 <at> debbugs.gnu.org
Subject: bug#14357: 24.3; Directory tracking in ansi-term broken
Date: Fri, 09 Feb 2018 22:37:43 -0500
tags 14357 fixed
found 14357 25.3
close 14357 26.1
quit

Glenn Morris <rgm <at> gnu.org> writes:

> "Olsen, Stuart J" wrote:
>
>> To reproduce this bug, run emacs using the command `emacs -Q'. Issue the
>> command `M-x ansi-term' run a local bash session. Issue the command `echo
>> -e "\033AnSiTc" $(pwd)' to simulate setting the default-directory for
>> the ansi-term buffer. This will be successful, but the character
>> sequence `^Z/cwd', where cwd is the current working directory, will also
>> be printed.

This is fixed in version 26.

> Did this ever work for you? I haven't been able to find any version of
> Emacs, going back to 21.1, in which it does. In more recent Emacs, I
> actually get an error:
>
>   error in process filter: Not a Tramp file name: /@HOSTNAME:/home/gm

If you do

    echo -e '\eAnSiTu' $(whoami)

first, then that won't happen.




This bug report was last modified 7 years and 187 days ago.

Previous Next


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