From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: [david.hansen@gmx.net: Re: comint's directory tracking doesn't understand \( or \)] Date: Mon, 05 Mar 2007 00:13:35 +0100 Organization: disorganized Message-ID: <87lkic61r4.fsf@localhorst.mine.nu> References: <871wk56tjh.fsf@localhorst.mine.nu> <87wt1xhv0u.fsf@stupidchicken.com> <85ejo5j9bj.fsf@lola.goethe.zz> <87irdgkdy1.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 1173050654 21680 80.91.229.12 (4 Mar 2007 23:24:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2007 23:24:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 05 00:24:09 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 1HO03k-0007b9-Il for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2007 00:24:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO03k-0003Ld-1k for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 18:24:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HO037-00039O-EO for emacs-devel@gnu.org; Sun, 04 Mar 2007 18:23:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HO035-00038n-Sa for emacs-devel@gnu.org; Sun, 04 Mar 2007 18:23:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO035-00038j-Nu for emacs-devel@gnu.org; Sun, 04 Mar 2007 18:23:27 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HO035-0002dj-Ce for emacs-devel@gnu.org; Sun, 04 Mar 2007 18:23:27 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HO02z-00071F-38 for emacs-devel@gnu.org; Mon, 05 Mar 2007 00:23:21 +0100 Original-Received: from e178058052.adsl.alicedsl.de ([85.178.58.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2007 00:23:21 +0100 Original-Received: from david.hansen by e178058052.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2007 00:23:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178058052.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:+RSjb5dZSnFgL+6R5YoFelgPKI4= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:67323 Archived-At: On Sun, 04 Mar 2007 14:26:30 -0500 Chong Yidong wrote: > I don't think we should make the proposed change to comint.el. AFAIK, > the detailed rules for how backslash escape works is, in principle, > different from shell to shell, and even if we choose to obey (e.g.) > bash semantics for backslash escapes, we might still be incompatible > with other shells. It's an *sh* semantic, not bash. Do you know of any non sh compatible interactive shell that is widely used? > This might also introduce subtle bugs into non-shell uses of comint > mode. Valid objection but i can't even imagine a case (where do "command line arguments" make sense except in a shell?) and a grep on the emacs sources suggests that it's pretty safe. > It seems there will always be *some* way of confusing the directory > tracker: that's what `M-x dirs' is for. But none that is as easy as typing some non special characters and hitting TAB. Anyway, will try to remember that and send it again after Emacs 22 is out. David