emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comint's directory tracking doesn't understand \( or \)


From: Chris Moore
Subject: comint's directory tracking doesn't understand \( or \)
Date: Thu, 01 Mar 2007 07:41:17 +0100

The *shell* buffer attempts to cd into the current working directory
of the inferior shell process, but when that directory contains a ( or
), it seems to get lost, for example:

M-x shell RET
$ cd /tmp/
$ mkdir /tmp/'(2007)'
$ cd \(2007\)/

The *shell* buffer ends up in /tmp/, not in /tmp/(2007)/ as expected.

Note that if I use:

$ cd '(2007)'

instead, then the tracking works.  But if I use single quotes like
that, instead of backslashes, then tab-completion of filenames doesn't
work.

In GNU Emacs 22.0.94.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-02-26 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-gtk' '--prefix' '/usr/local' '--with-xpm' 
'--with-jpeg' '--with-png' '--with-gif''




reply via email to

[Prev in Thread] Current Thread [Next in Thread]