From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14493 invoked from network); 3 Feb 2007 14:41:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Feb 2007 14:41:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 69237 invoked from network); 3 Feb 2007 14:41:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Feb 2007 14:41:32 -0000 Received: (qmail 9500 invoked by alias); 3 Feb 2007 14:41:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23148 Received: (qmail 9490 invoked from network); 3 Feb 2007 14:41:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Feb 2007 14:41:30 -0000 Received: (qmail 68920 invoked from network); 3 Feb 2007 14:41:29 -0000 Received: from mtaout03-winn.ispmail.ntl.com (81.103.221.49) by a.mx.sunsite.dk with SMTP; 3 Feb 2007 14:41:23 -0000 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20070203144122.ILMA1468.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Sat, 3 Feb 2007 14:41:22 +0000 Received: from pwslaptop.csr.com ([81.107.45.94]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20070203144121.OWJH219.aamtaout01-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Sat, 3 Feb 2007 14:41:21 +0000 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.8/8.13.7) with ESMTP id l13Eg4iS003241 for ; Sat, 3 Feb 2007 14:42:04 GMT Message-Id: <200702031442.l13Eg4iS003241@pwslaptop.csr.com> From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: Completion fails to properly escape parenthesis In-Reply-To: Message from Felix Eckhofer of "Sat, 03 Feb 2007 02:39:02 +0100." <200702030239.03718.felix@tribut.de> Date: Sat, 03 Feb 2007 14:42:04 +0000 Felix Eckhofer wrote: > --nextPart1267650.dR9JUp2fVv > Content-Type: text/plain; > charset="utf-8" > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hi. > > Have a look at this short session: > > $ mkdir 'some(dir' > > $ cd some > > $ cd some\(dir > > cd:5: bad pattern: some(dir > > Obviously, completion fails to escape the '(' properly ("cd some\\\(dir > works fine). I must be missing the point here. some\(dir is exactly the right quoting for a single parenthesis; the result has just the same effect as 'some(dir'. Is your cd doing something clever with patterns? In that case the problem is there. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/