From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7029 invoked from network); 12 Mar 2000 06:35:10 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Mar 2000 06:35:10 -0000 Received: (qmail 7559 invoked by alias); 12 Mar 2000 06:35:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10085 Received: (qmail 7542 invoked from network); 12 Mar 2000 06:35:03 -0000 From: "Bart Schaefer" Message-Id: <1000312063459.ZM27076@candle.brasslantern.com> Date: Sun, 12 Mar 2000 06:34:58 +0000 In-Reply-To: <1000312062134.ZM27047@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: _files vs _path_files discussion (old thread)" (Mar 12, 6:21am) References: <199909170728.JAA01949@beta.informatik.hu-berlin.de> <20000311222225.A27795@thelonious.new.ox.ac.uk> <1000312001854.ZM26814@candle.brasslantern.com> <20000312005127.A28688@thelonious.new.ox.ac.uk> <1000312062134.ZM27047@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: 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, 6:21am, Bart Schaefer wrote: } Subject: Re: _files vs _path_files discussion (old thread) } } [*] Sven's suggested change was: } } ... should we make the directories tag with its usual pattern be } } tried automatically if the user explicitly sets the file-patterns tag } } for globbed-files? Or should we do that only if the directories tag, } } file-patterns style is given, but allow an empty value to stand for } } `the normal pattern'? } } My short answer is that I don't think there's any good solution. The } tag-order style is going to be confusing no matter what we do [...] One additional thought: It would be nice to be able to specify that _paths_ are completed, rather than merely directories; i.e. like the difference between "compctl -g '*(-/)'" and "compctl -/". I'm not convinced that "zstyle *directories file-patterns '*(-/)'" does that. } some kind of blaring all-caps text in the tag-order documentation: } } NAMING A TAG IN TAG-ORDER DOES NOT CAUSE COMPLETIONS FOR THAT TAG TO BE } GENERATED; RATHER, IT SORTS THE COMPLETIONS AFTER THEY ARE GENERATED. Hrm, maybe even add "... BUT ONLY _IF_ ANY ARE GENERATED FOR THAT TAG." -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com