From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14717 invoked from network); 12 Mar 2000 22:51:59 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Mar 2000 22:51:59 -0000 Received: (qmail 6810 invoked by alias); 12 Mar 2000 22:51:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10100 Received: (qmail 6791 invoked from network); 12 Mar 2000 22:51:51 -0000 From: "Bart Schaefer" Message-Id: <1000312225133.ZM31080@candle.brasslantern.com> Date: Sun, 12 Mar 2000 22:51:33 +0000 In-Reply-To: <20000312201423.A10537@thelonious.new.ox.ac.uk> Comments: In reply to Adam Spiers "Re: _files vs _path_files discussion (old thread)" (Mar 12, 8:14pm) References: <20000311222225.A27795@thelonious.new.ox.ac.uk> <1000312001854.ZM26814@candle.brasslantern.com> <20000312005127.A28688@thelonious.new.ox.ac.uk> <1000312062134.ZM27047@candle.brasslantern.com> <1000312063459.ZM27076@candle.brasslantern.com> <199909170728.JAA01949@beta.informatik.hu-berlin.de> <20000312130233.A4744@thelonious.new.ox.ac.uk> <1000312194332.ZM27890@candle.brasslantern.com> <20000312201423.A10537@thelonious.new.ox.ac.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: Adam Spiers , zsh-workers@sunsite.auc.dk Subject: Re: _files vs _path_files discussion (old thread) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 12, 8:14pm, Adam Spiers wrote: } Subject: Re: _files vs _path_files discussion (old thread) } } > If you have global directories file-patterns you're going to need them } > for globbed-files, too ... } } Why's that? I'm still not fully understanding this, it seems. The default for _files with no options and no file-patterns styles is to use the all-files tag (this is determined by the setting of `type' in _files if you want to follow it). If you give file-patterns for any of globbed-files, directories or all-files, then (`type' gets changed, so) different tags are used. If the only file-patterns you give are for directories, then the tags used are directories and all-files. To get globbed-files used, you either have to specify file-patterns for it, or else the caller of _files has to pass -g. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com