From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stavros Macrakis" Newsgroups: gmane.emacs.bugs Subject: etags confused with uppercase filenames (on Windows) Date: Fri, 29 Mar 2002 20:56:20 -0500 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <000901c1d78e$16b086c0$34f3fea9@gazi> Reply-To: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1017453438 17579 127.0.0.1 (30 Mar 2002 01:57:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 30 Mar 2002 01:57:18 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16r87K-0004ZQ-00 for ; Sat, 30 Mar 2002 02:57:18 +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 16r87G-0001qi-00; Fri, 29 Mar 2002 20:57:14 -0500 Original-Received: from out008pub.verizon.net ([206.46.170.108] helo=out008.verizon.net) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16r86q-0001qG-00 for ; Fri, 29 Mar 2002 20:56:48 -0500 Original-Received: from gazi ([141.154.226.30]) by out008.verizon.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20020330015647.SVTG16955.out008.verizon.net@gazi> for ; Fri, 29 Mar 2002 19:56:47 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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:299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:299 etags copyright 98 distributed with Emacs 20.7.1 (i386-*-nt5.0.2195) running on Windows 2000 Here's a funny little bug.... Take the file below, call it foo.el. 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. If the file name is all-caps in the directory, you get the same problem. .EL works fine everywhere else in Emacs as far as I can tell. This happened to me because in some transfer from one filesystem to another, some piece of software decided to canonicalize filenames as all-caps.... They worked fine, except for this glitch in etags. -s -----------foo.el--------- (defun zoo2 (n) (delete-region 3 4)) (defun sdfsdf () ;; comment 1 ;; comment 2 (let ((sdf 0)) ;; comment 3 ;; comment 4 )) ----------TAGS--------- ^L fox.el,49 (defun zoo2 zoo21,0 (defun sdfsdf sdfsdf3,38 ^L FOX.EL,45 ;; comment 4,55 ;; comment 7,108