From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8978 invoked from network); 17 Dec 2003 15:53:13 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Dec 2003 15:53:13 -0000 Received: (qmail 16848 invoked by alias); 17 Dec 2003 15:53:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19305 Received: (qmail 16836 invoked from network); 17 Dec 2003 15:53:05 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 17 Dec 2003 15:53:05 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [193.109.254.211] by sunsite.dk (MessageWall 1.0.8) with SMTP; 17 Dec 2003 15:53:5 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-15.tower-36.messagelabs.com!1071676383!2563568 X-StarScan-Version: 5.1.15; banners=-,-,- Received: (qmail 16505 invoked from network); 17 Dec 2003 15:53:03 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-15.tower-36.messagelabs.com with SMTP; 17 Dec 2003 15:53:03 -0000 Received: from gmcs3.local ([158.234.142.61]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id hBHFr3uB027279; Wed, 17 Dec 2003 15:53:03 GMT Received: from gmcs3.local (localhost [127.0.0.1]) by gmcs3.local (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id hBHFvGA01774; Wed, 17 Dec 2003 16:57:16 +0100 cc: zsh-workers@sunsite.dk X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <1031215170258.ZM12804@candle.brasslantern.com> From: Oliver Kiddle References: <20031213154651.GR18859@strindberg.dsv.su.se> <1031213191918.ZM5325@candle.brasslantern.com> <20031213233905.GW18859@strindberg.dsv.su.se> <3213.1071488991@gmcs3.local> <1031215170258.ZM12804@candle.brasslantern.com> To: Bart Schaefer Subject: Re: Completion in pwd before subdirecories Date: Wed, 17 Dec 2003 16:57:16 +0100 Message-ID: <1772.1071676636@gmcs3.local> Bart wrote: > There's code in _files to attempt to merge together any trailing stuff > that looks like glob qualifiers, because _files predates the #q flag. > In fact, I'm suspicious that adding #q might actually break things. Where? I can't find it anywhere in _files and if it is in _path_files then it doesn't work. Try: _foo() { _files -g '*.gz(.)(.)' } So either we need to add #q when using glob qualifiers or _files should attempt to merge trailing glob qualifiers. I favour the latter. So _files needs to match a trailing glob qualifier in the parameter to -g and stick #q in. Can a glob qualifier contain quoted parenthesis? Oliver