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 16:51:44 +0100 Message-ID: <85ejo5j9bj.fsf@lola.goethe.zz> References: <871wk56tjh.fsf@localhorst.mine.nu> <87wt1xhv0u.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173023531 9915 80.91.229.12 (4 Mar 2007 15:52:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2007 15:52:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 04 16:52:04 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 1HNt0F-0004pb-Rn for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 16:52:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNt0F-0002hj-Ch for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 10:52:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNt03-0002fZ-DJ for emacs-devel@gnu.org; Sun, 04 Mar 2007 10:51:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNt00-0002ac-RQ for emacs-devel@gnu.org; Sun, 04 Mar 2007 10:51:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNt00-0002aY-OD for emacs-devel@gnu.org; Sun, 04 Mar 2007 10:51:48 -0500 Original-Received: from mail-in-08.arcor-online.net ([151.189.21.48]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HNt00-0000Ea-2J for emacs-devel@gnu.org; Sun, 04 Mar 2007 10:51:48 -0500 Original-Received: from mail-in-02-z2.arcor-online.net (mail-in-02-z2.arcor-online.net [151.189.8.14]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 935D422656A; Sun, 4 Mar 2007 16:51:46 +0100 (CET) Original-Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mail-in-02-z2.arcor-online.net (Postfix) with ESMTP id 7F0F7113FE2; Sun, 4 Mar 2007 16:51:46 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-052-195.pools.arcor-ip.net [84.61.52.195]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 5A9ED1F7049; Sun, 4 Mar 2007 16:51:46 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id CEF651C460D3; Sun, 4 Mar 2007 16:51:44 +0100 (CET) In-Reply-To: <87wt1xhv0u.fsf@stupidchicken.com> (Chong Yidong's message of "Sun\, 04 Mar 2007 10\:45\:53 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (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:67295 Archived-At: Chong Yidong writes: > David Hansen writes: > >> On Fri, 02 Mar 2007 12:44:48 -0500 Richard Stallman wrote: >> >>> Would someone please study this, install it if it is safe, then ack? >> >> Alone it's doing not that much. The attached patch should fix all >> problems with shell-modes directory tracking and special characters >> in directory names. >> >> I'm sorry that it's a bit longish, but the original regexps are a >> bit to much for my small brain ;) > > I'm leery of introducing this kind of change into comint.el at this > stage in the release. It doesn't seem to fit Richard's criterion of > being "simple and safe". > > BTW, I can't seem to reproduce the problem referenced in the original > bug report. > > 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 for checking the problem. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum