delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/20/12:38:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 20 Oct 2005 12:38:09 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Oct 17 2005 11:54:34
Message-ID: <20051020163809.GA18643@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <A4E3891E681AC442BDC781C89393235901BFD874 AT d10sm004 DOT de10 DOT cocreate DOT com> <20051020144227 DOT GB28514 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 63 DOT 0510201223260 DOT 24213 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.63.0510201223260.24213@slinky.cs.nyu.edu>
User-Agent: Mutt/1.5.8i

On Thu, Oct 20, 2005 at 12:26:58PM -0400, Igor Pechtchanski wrote:
>On Thu, 20 Oct 2005, Christopher Faylor wrote:
>>On Thu, Oct 20, 2005 at 04:15:34PM +0200, Christoph Jeksa wrote:
>>>there is a bug in this version:
>>>
>>>Supposed, you have a file X.sh ( exactly in this spelling ).  If you
>>>enter:
>>>
>>>vim x.sh ( also exactly in this spelling )
>>>
>>>and write it back after any modification, the file will be renamed even
>>>to x.sh.  This behavior is very nasty if such file is used by programs
>>>which are case-sensitive for file names, example: SCM program perforce.
>>
>>This isn't a vim problem.  Windows filename handling is
>>case-insensitive.
>>
>>I suppose that there could be a vim option to deal with this case but
>>that would require modifying vim, i.e., PTC* by the upstream vim
>>developers.
>
>Chris, I suppose there's another bet between you and Corinna floaing
>around in the cygwin-developers land somewhere, but I'll bite.

What's the euro/dollar exchange rate these days?

>No need to patch vim.  This is *exactly* the kind of situation where
>check_case:strict is useful.  With CYGWIN=check_case:strict, vim won't
>even edit the file "x.sh" if the file is actually named "X.sh".
>Incidentally, "check_case:adjust" might also help.

You're right, I didn't consider recommending an option that Corinna and
I consider to be deprecated.  Using this option is *guaranteed* to slow
Cygwin down and, given that both Corinna and I detest the complications
and slow down this option entails, it is entirely possible that it will
be broken from time to time.

At the risk of being self-indulgent and winning some more bets, I also
didn't mention the overkill option of using managed mounts.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019