I'm not positive how vim is globbing for files.  If it does its own internal 
globbing, then there must be a switch for case-sensitive globbing, at least in 
the C code.  Probably turned off when it detects it's running on Windows.  
However, since this is a cygwin version, it shouldn't do that, since cygwin 
supports case-sensitive filenames (in a sort of hybrid way).  

I'm hoping that this internal switch exists and is exposed in some way (during 
compilation of vim or during runtime) so that I can turn off this behavior.  I 
believe that older versions of vim complied under cygwin did NOT have this 
behavior, because I never noticed it until now when I just recently updated by 
cygwin software which was a year (or more?) old.

----- Original Message ----
From: fREW <[EMAIL PROTECTED]>
To: John Wiersba <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, March 13, 2007 11:54:49 PM
Subject: Re: Case-sensitive match for :e under cygwin?

I hope I am not speaking prematurely here, but I really think that
this has more to do with the underlying Windows Filesystem stuff.  As
you probably know the files in windows are NOT case sensitive and I
think that vim is probably using some form of Filesystem globbing,
which would find both file1 and FILE2.

On the other hand I remember reading about a cygwin feature that would
allow you to have funky filenames not supported by windows in a cygwin
"partition"  (just escapes in the filenames really) that might change
things.

This is where I read about the cygwin filename stuff:
http://gentoo-wiki.com/HOWTO_Gentoo_on_Cygwin#.22Managed.22_mounts

I hope that helps!

-fREW

-- 
-fREW





 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

Reply via email to