From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18788 invoked from network); 22 Jun 2005 23:58:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Jun 2005 23:58:15 -0000 Received: (qmail 89502 invoked from network); 22 Jun 2005 23:58:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jun 2005 23:58:07 -0000 Received: (qmail 15120 invoked by alias); 22 Jun 2005 23:58:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21377 Received: (qmail 15111 invoked from network); 22 Jun 2005 23:58:05 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 Jun 2005 23:58:05 -0000 Received: (qmail 89236 invoked from network); 22 Jun 2005 23:58:04 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 22 Jun 2005 23:58:01 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0III002X7FWMMTO8@vms048.mailsrvcs.net> for zsh-workers@sunsite.dk; Wed, 22 Jun 2005 18:58:00 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j5MNvwfa023625; Wed, 22 Jun 2005 16:57:58 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j5MNvvRc023624; Wed, 22 Jun 2005 16:57:57 -0700 Date: Wed, 22 Jun 2005 23:57:56 +0000 From: Bart Schaefer Subject: Re: Bug#315255: zsh: cvs commit completion breaks on spaces In-reply-to: <20050622013018.GA10774@scowler.net> To: Clint Adams Cc: Debian Bug Tracking System <315255@bugs.debian.org>, zsh-workers@sunsite.dk Message-id: <1050622235756.ZM23623@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050621142441.GA32423@larve.net> <20050621175055.GA25622@scowler.net> <1050622005745.ZM22841@candle.brasslantern.com> <20050622013018.GA10774@scowler.net> Comments: In reply to Clint Adams "Re: Bug#315255: zsh: cvs commit completion breaks on spaces" (Jun 21, 9:30pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Jun 21, 9:30pm, Clint Adams wrote: } Subject: Re: Bug#315255: zsh: cvs commit completion breaks on spaces } } Adding the parens makes it do the right thing in this particular case. I'm concerned that the parens will be confused for a glob qualifier if there is only one possible match. If that doesn't happen, then this would be OK. } What's the correct fix? I would have expected _path_files to do the right thing, so maybe the fix is somewhere there. Or might it be _wanted ...?