emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Why does etags ask me if I want to keep the old TAGS - I do not want


From: Eli Zaretskii
Subject: Re: Why does etags ask me if I want to keep the old TAGS - I do not want to load a new
Date: Wed, 11 Apr 2007 21:21:40 +0300

> Date: Wed, 11 Apr 2007 07:53:27 +0200
> From: "Matzi Kratzi" <address@hidden>
> Cc: address@hidden
> 
> > > If I have the *Message*-buffer in another window, I can now see this:
> > > k:/ERADIUM_kalle/LD_swmodules_005/TAGS and
> > > k:/ERADIUM_kalle/LD_SwModules_005/TAGS are the same file [2 times]
> >
> > Note that these two file names are identical, but for the letter-case.
> > Since Windows filesystems are case-insensitive, these two names indeed
> > specify the same file.  The question is: where did Emacs get these two
> > names?
> 
> Thank you!
> The problem appears to be the letter-case. I can repeat this by using
> etags from the pretest on the files in src in the pretest source. If I
> load process.c, run find-tag and change the spelling of src to Src, I
> get the same behaviour the second time I use find-tag.

Well, if the problem is that you yourself misspell the file's name,
then simply don't do that ;-)

> I find this strange since emacs on MS windows does not care about
> letter-case in other places.

It doesn't care about file names where it calls the Windows filesystem
APIs, and in file-name completion.  But if some Lisp code uses string
comparison as a method to check for files' equality (because Emacs
code is deeply rooted in the Posix world), then letter-case
differences will cause false negatives.




reply via email to

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