I've attached the output from ^x? in the failing case. I installed zsh (4.3.4) via cygwin's setup.exe program towards the end of last week. I'm using Windows Vista - not sure if that might be contributing to the problem? MULTIBYTE_SUPPORT is not defined in either /usr/include/cygwin/config.h or /usr/include/sys/config.h. --- John. -----Original Message----- From: Peter Stephenson [mailto:pws@xxxxxxx] Sent: 22 October 2007 12:31 To: Zsh Users Subject: Re: Completion problems on cygwin when nocaseglob is set On Mon, 22 Oct 2007 12:10:04 +0100 "John Cooper" <John.Cooper@xxxxxxxxxx> 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 <pws@xxxxxxx> Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Attachment:
zsh4540ls1
Description: zsh4540ls1