From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#550: 23.0.60; A case where file-truename ignores case on w32 Date: Fri, 11 Jul 2008 23:16:12 +0200 Message-ID: <4877CD9C.5070705@gmail.com> Reply-To: "Lennart Borgman \(gmail\)" , 550@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215811679 29685 80.91.229.12 (11 Jul 2008 21:27:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2008 21:27:59 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 23:28:46 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KHQAX-0002LQ-UE for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 23:28:46 +0200 Original-Received: from localhost ([127.0.0.1]:38131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHQ9f-0002ad-Tm for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 17:27:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHQ99-0002OS-Mu for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 17:27:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHQ98-0002NU-Q1 for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 17:27:19 -0400 Original-Received: from [199.232.76.173] (port=37553 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHQ98-0002NB-B3 for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 17:27:18 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50885) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KHQ97-0001hB-Np for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 17:27:18 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6BLRFjJ004010; Fri, 11 Jul 2008 14:27:15 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6BLP5qe003007; Fri, 11 Jul 2008 14:25:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 11 Jul 2008 21:25:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 550 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12158109911625 (code B ref -1); Fri, 11 Jul 2008 21:25:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Jul 2008 21:16:31 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6BLGOt4001619 for ; Fri, 11 Jul 2008 14:16:25 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:33104 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KHPy7-0004O2-3f for emacs-pretest-bug@gnu.org; Fri, 11 Jul 2008 17:15:55 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KHPyW-00009y-7N for emacs-pretest-bug@gnu.org; Fri, 11 Jul 2008 17:16:23 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:39647) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KHPyV-00009i-OH for emacs-pretest-bug@gnu.org; Fri, 11 Jul 2008 17:16:20 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:60701 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KHPyU-0006ij-4X for emacs-pretest-bug@gnu.org; Fri, 11 Jul 2008 23:16:18 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 X-Antivirus: avast! (VPS 080711-0, 2008-07-11), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1KHPyU-0006ij-4X. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KHPyU-0006ij-4X bcf4a07cae70d6bc26ec1dbbf08a40c6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 11 Jul 2008 17:27:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18687 gmane.emacs.pretest.bugs:22716 Archived-At: I got a bug report from a user concerning nXhtml. The problem seems to be that Emacs ignores case in an existing directory name. Here is my reply (I can reproduce the problem): richard6905 wrote: > > > Hi Lennart, > thanks for your reply. Here's the output of the lines you've listed: > > (html-site-dir-contains "c:/temp" "c:/temp/in/hej.html"): > nil > > (html-site-looks-like-local-url "c:/temp/in/hej.html"): > t > > (html-site-looks-like-local-url "c:/temp"): > t > > (file-truename (expand-file-name "c:/temp/in/hej.html")): > c:/temp/in/hej.html Yes, great, this information helps. It looks like there is a bug in file-truename. At least I expect the result here to be c:/Temp/in/hej.html since you have a directory named "C:\Temp" with uppercase T. I will file a bug report. > (file-name-as-directory (file-truename (expand-file-name "c:/temp/"))): > c:/Temp/ > > There is a c:\Temp directory, but as far as I'm aware, this doesn't > have any specific Emacs related content. > > Hope this information helps. > > regards > > Richard In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-06-29 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'