From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: etags confused with uppercase filenames (on Windows) Date: Sat, 30 Mar 2002 11:37:38 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <4634-Sat30Mar2002113738+0300-eliz@is.elta.co.il> References: <000901c1d78e$16b086c0$34f3fea9@gazi> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1017477740 30099 127.0.0.1 (30 Mar 2002 08:42:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 30 Mar 2002 08:42:20 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16rERH-0007pL-00 for ; Sat, 30 Mar 2002 09:42:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rERD-0003yp-00; Sat, 30 Mar 2002 03:42:15 -0500 Original-Received: from odin.inter.net.il ([192.114.186.10]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rEQh-0003uV-00 for ; Sat, 30 Mar 2002 03:41:43 -0500 Original-Received: from zaretsky (diup-216-167.inter.net.il [213.8.216.167]) by odin.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AAJ59028; Sat, 30 Mar 2002 11:41:37 +0300 (IDT) Original-To: macrakis@alum.mit.edu X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <000901c1d78e$16b086c0$34f3fea9@gazi> (stavros.macrakis@verizon.net) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:304 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:304 > Reply-To: > 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.