From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [david.hansen@gmx.net: Re: comint's directory tracking doesn't understand \( or \)] Date: Sun, 04 Mar 2007 21:17:35 +0100 Message-ID: <85tzx0n4ps.fsf@lola.goethe.zz> References: <871wk56tjh.fsf@localhorst.mine.nu> <87wt1xhv0u.fsf@stupidchicken.com> <85ejo5j9bj.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173039482 20246 80.91.229.12 (4 Mar 2007 20:18:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2007 20:18:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 04 21:17:56 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HNx9W-0002EU-WD for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 21:17:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNx9W-0007ac-CC for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 15:17:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNx9J-0007aX-U4 for emacs-devel@gnu.org; Sun, 04 Mar 2007 15:17:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNx9H-0007aL-IT for emacs-devel@gnu.org; Sun, 04 Mar 2007 15:17:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNx9H-0007aI-CI for emacs-devel@gnu.org; Sun, 04 Mar 2007 15:17:39 -0500 Original-Received: from mail-in-02.arcor-online.net ([151.189.21.42]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HNx9G-00025n-Tp for emacs-devel@gnu.org; Sun, 04 Mar 2007 15:17:39 -0500 Original-Received: from mail-in-01-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id B07542D9B89; Sun, 4 Mar 2007 21:17:37 +0100 (CET) Original-Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id A11FB347403; Sun, 4 Mar 2007 21:17:37 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-052-195.pools.arcor-ip.net [84.61.52.195]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 7F31723D1E2; Sun, 4 Mar 2007 21:17:37 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 62EAA1C460D3; Sun, 4 Mar 2007 21:17:35 +0100 (CET) In-Reply-To: (Robert J. Chassell's message of "Sun\, 4 Mar 2007 19\:40\:53 +0000 \(UTC\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67306 Archived-At: "Robert J. Chassell" 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