[Top][All Lists]

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

Re: etags confused with uppercase filenames (on Windows)

From: Eli Zaretskii
Subject: Re: etags confused with uppercase filenames (on Windows)
Date: Sat, 30 Mar 2002 11:37:38 +0300

> Reply-To: <address@hidden>
> Date: Fri, 29 Mar 2002 20:56:20 -0500
> Run the following command line:
>  > etags foo.el FOO.EL
> You get the tags file shown below, which is correct for fox.el and incorrect
> for FOO.EL.  Same error if the command includes only FOO.EL.
> Note that on Windows, case is ignored in dereferencing filenames, so these
> two filenames refer to the same file, and in fact *.el finds FOO.EL.

This particular problem can be solved by adding "EL" to the
Lisp_suffixes array in etags.c.  However, I don't think etags can be
made case-insensitive to file names in general, since foo.C needs to
be processed as C++ code, while foo.c should be processed as C code.

So I'd suggest to keep your file names in proper letter-case.  Windows
is indeed case-insensitive, but it does preserve the letter-case in
file names.

> This happened to me because in some transfer from one filesystem to another,
> some piece of software decided to canonicalize filenames as all-caps....

If you have a program that generates UPCASED file names, try to
replace it with some other program, which does not.

reply via email to

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