help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Re: Case-sensitivity of filenames under NT, in VC


From: Jeff Rancier
Subject: [h-e-w] Re: Case-sensitivity of filenames under NT, in VC
Date: Tue, 11 Jun 2002 16:09:44 -0400

Eli,

I simply did a directory list to find this out.  I have an IBM point of sale
system which I can't seem to get ange-ftp to work on.  So I manually ftp the
files back and forth.  Not only does ange-ftp not work (I think the ls-al
command is what is chokes on), but it transfers files in uppercase.  Until
recently, I used CVS from the command prompt (4nt).  So now the files are in
CVS in caps.  I renamed the file to lowercase, that didn't work.  I editted
CVS/Entries and made that lower case, and then vc-cvs-registered() found the
file.  Of course, that confused CVS, so a CVS UP resulted in:

cvs server: Updating .
cvs.exe update: move away ./SSP_SMKT.C; it is in the way
C SSP_SMKT.C

I'm assuming the C stands for conflict.  So, I changed:

    (case-fold-search nil)

to:

    (case-fold-search t)

If I was better at elisp, I'd probably somehow stick something like:

(if (eq system-type 'window-nt) .....

Jeff


----- Original Message -----
From: "Eli Zaretskii" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Tuesday, June 11, 2002 1:57 PM
Subject: Re: Case-sensitivity of filenames under NT, in VC


> > From: Andre Spiegel <address@hidden>
> > Date: 11 Jun 2002 19:18:04 +0200
> >
> > Eli, I've been trying to track down a problem of Jeff Rancier
> > <address@hidden>, whose Emacs doesn't recognize
> > CVS-controlled files under NT.  We have found that at the shell level
> > and in CVS/Entries, the filenames are in uppercase, but Emacs thinks
> > they are in lowercase.  Hence, the files are not recognized as
> > CVS-controlled (in vc-cvs-registered).  This is Emacs 21.2.
> >
> > As I'm totally unfamiliar with case-sensitivity in DOS-based file
> > systems, could you have a look at this problem, or point Jeff to
> > somebody who could help him out?
>
> As Windows filesystem is case-insensitive, I don't see any reason for
> vc-cvs-registered to insist on case-sensitive searches when
> system-type is either ms-dos or windows-nt (and perhaps other symbols
> used by XEmacs on Windows).  That should solve Jeff's problem.
>
> As for files being in upper case outside Emacs and lower-case inside
> Emacs, could you please describe how did you find that out?  That is,
> what commands outside Emacs did you use, and what did you type or try
> inside Emacs?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]