From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23774 invoked from network); 11 Mar 1999 18:13:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Mar 1999 18:13:24 -0000 Received: (qmail 15323 invoked by alias); 11 Mar 1999 17:53:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5763 Received: (qmail 15302 invoked from network); 11 Mar 1999 17:53:24 -0000 From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: _path_files and completeinword Date: Thu, 11 Mar 1999 20:51:39 +0300 Message-ID: <000801be6be7$d06f11f0$21c9ca95@mowp.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <199903100944.KAA16241@beta.informatik.hu-berlin.de> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 > > `_path_files' does the matching itself -- and sometimes things get too > hard for it. > To allow `-g ...' patterns, it has to append these patterns to the > string from the line and then use that to generate filenames. Sorry? I don't understand it. The meaning of `-g' is: "take as possible matches the files that match given glob pattern(s)". The matches are only *possible* - that is, they still have to match comand line to be included in completion list. If _path_files does something else, that means - it implements different completion as was always used in zsh - this is a bug If we return to example (/t/s/z/D/zi - implying /tools/src/zsh-xxx/Doc/zsh.texi), then it means, that _path_files should take a list of files in /tools/src/zsh-xxx/Doc that match given glob pattern (let it be *.texi) and then match them against z*i. /andrej