emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: comint's directory tracking doesn't understand \


From: David Kastrup
Subject: Re: address@hidden: Re: comint's directory tracking doesn't understand \( or \)]
Date: Sun, 04 Mar 2007 21:17:35 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

"Robert J. Chassell" <address@hidden> writes:

>    > M-x shell RET
>    > ~ $ cd /tmp/
>    > /tmp $ mkdir /tmp/'(2007)'
>    > /tmp $ cd \(2007\)
>    > /tmp/(2007) $ pwd
>    >
>    >  => /tmp/(2007)
>
>    Uh, I guess you should not use 
>    pwd RET
>    but rather
>    M-x pwd RET
>
> I don't reproduce the problem either.  Emacs works fine.
>
> When I do the above with pwd in the *shell* buffer, I, too, see
> /tmp/(2007)
>
> When I do 
>        M-x pwd RET
> I see the default directory for the buffer, which in my case is  /
>
> After changing the default directory for the buffer with
>        M-x cd RET /tmp/(2007) RET
> when I do 
>        M-x pwd RET
> I see  
>        /tmp/(2007)/
> as expected.

Emacs usually tracks "cd" commands in shell-mode all by itself,
without any need to do
M-x cd RET

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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