[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: etags confused with uppercase filenames (on Windows)
From: |
Stefan Monnier |
Subject: |
Re: etags confused with uppercase filenames (on Windows) |
Date: |
Tue, 02 Apr 2002 11:02:49 -0500 |
> To determine a file's language, currently etags does the following:
>
> 1) if the user specified a language, use that
> 2) else, guess it from the file name
> 3) else, look for #!
> 4) ... (other euristics)
>
> I think that I could add:
>
> 2bis) else, if the file name is all upcase, upcase the builtin file name
> suffixes and retry
How about
4) try to guess from the filename but ignore case this time.
I don't think that the "all upcase" condition is necessary.
But I do think that #! should take precedence since I'd rather
not change the existing behavior on POSIX systems.
Stefan
Re: etags confused with uppercase filenames (on Windows), Eli Zaretskii, 2002/04/03