From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2544 invoked from network); 22 Oct 2007 11:31:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Oct 2007 11:31:53 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 46722 invoked from network); 22 Oct 2007 11:31:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Oct 2007 11:31:47 -0000 Received: (qmail 7273 invoked by alias); 22 Oct 2007 11:31:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12077 Received: (qmail 7256 invoked from network); 22 Oct 2007 11:31:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 Oct 2007 11:31:37 -0000 Received: (qmail 45355 invoked from network); 22 Oct 2007 11:31:37 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 22 Oct 2007 11:31:30 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly51d.srv.mailcontrol.com (MailControl) with ESMTP id l9MBVS8U016819 for ; Mon, 22 Oct 2007 12:31:29 +0100 Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 Oct 2007 12:31:28 +0100 Date: Mon, 22 Oct 2007 12:31:28 +0100 From: Peter Stephenson To: Zsh Users Subject: Re: Completion problems on cygwin when nocaseglob is set Message-ID: <20071022123128.2db6000c@news01> In-Reply-To: References: <20a807210710200509t43730713oa909fce4e0a57940@mail.gmail.com> <20071022103452.6c0580c6@news01> Organization: CSR X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Oct 2007 11:31:28.0781 (UTC) FILETIME=[166013D0:01C8149F] X-Scanned-By: MailControl A-07-08-10 (www.mailcontrol.com) on 10.68.0.161 On Mon, 22 Oct 2007 12:10:04 +0100 "John Cooper" wrote: > Completion fails with "mount -c /" and "setopt nocaseglob" and "autoload > -U compinit" and "autoload compinit". > It works with the more usual "mount -c /cygdrive". I still can't get this to happen. Do you have MULTIBYTE_SUPPORT in config.h? Does the following patch (which shouldn't be necessary in any case) make any difference? Could you send the output of ^x? (_complete_debug) in the failing case? Index: Src/pattern.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/pattern.c,v retrieving revision 1.40 diff -u -r1.40 pattern.c --- Src/pattern.c 27 Jul 2007 21:51:33 -0000 1.40 +++ Src/pattern.c 22 Oct 2007 11:26:36 -0000 @@ -512,7 +512,7 @@ if (!(patflags & PAT_ANY)) { /* Look for a really pure string, with no tokens at all. */ if (!patglobflags -#ifdef __CYGWIN__ +#if 0 /* def __CYGWIN__ */ /* * If the OS treats files case-insensitively and we * are looking at files, we don't need to use pattern -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070