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 03:09:59 +0100 Organization: disorganized Message-ID: <87wt1w8mq0.fsf@localhorst.mine.nu> References: <871wk56tjh.fsf@localhorst.mine.nu> <87wt1xhv0u.fsf@stupidchicken.com> <85ejo5j9bj.fsf@lola.goethe.zz> <87irdgkdy1.fsf@stupidchicken.com> <87lkic61r4.fsf@localhorst.mine.nu> <851wk4mvsu.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 1173061450 13495 80.91.229.12 (5 Mar 2007 02:24:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2007 02:24:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 05 03:24: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 1HO2rr-0003sN-0n for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2007 03:24:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO2rq-0000iN-94 for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 21:24:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HO2rd-0000iI-HT for emacs-devel@gnu.org; Sun, 04 Mar 2007 21:23:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HO2rb-0000i6-43 for emacs-devel@gnu.org; Sun, 04 Mar 2007 21:23:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO2ra-0000i3-Uj for emacs-devel@gnu.org; Sun, 04 Mar 2007 21:23:46 -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 1HO2ra-0005oP-Hh for emacs-devel@gnu.org; Sun, 04 Mar 2007 21:23:46 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HO2rR-0002ef-JN for emacs-devel@gnu.org; Mon, 05 Mar 2007 03:23:37 +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 03:23:37 +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 03:23:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 33 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.95 (gnu/linux) Cancel-Lock: sha1:etuG8t/UPePjA3wHNxkZDmiXxzo= 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:67329 Archived-At: On Mon, 05 Mar 2007 00:30:09 +0100 David Kastrup wrote: > David Hansen writes: > >> 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? > > csh and its ilk are actually in non-trivial use. Their respective > suckage level for interactive use appears tolerable for some people. > One has to be aware that some interactive aids like history > manipulation and command completion appeared first in that family, and > some people were more comfortable with C-like syntax. My csh man page isn't that clear about it but some simple tests suggest that it treats the backslash like a sh. BTW, we would be flooded with bug reports if the way my patch treats backslashes would be harmful to any widely used shell (from `shell-quote-argument'): ;; Quote everything except POSIX filename characters. ;; This should be safe enough even for really weird shells. David