From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#550: marked as done (23.0.60; A case where file-truename ignores case on w32) Date: Fri, 11 Jul 2008 16:30:06 -0700 Message-ID: References: <4877EB5D.7080804@gnu.org> <4877CD9C.5070705@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1215819006-1577-0" X-Trace: ger.gmane.org 1215820066 18072 80.91.229.12 (11 Jul 2008 23:47:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2008 23:47:46 +0000 (UTC) To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 12 01:48:33 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 1KHSLm-0003Fz-RB for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jul 2008 01:48:31 +0200 Original-Received: from localhost ([127.0.0.1]:33868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHSKv-0005eD-DZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2008 19:47:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHSKf-0005Qw-Um for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 19:47:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHSKf-0005QD-9k for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 19:47:21 -0400 Original-Received: from [199.232.76.173] (port=48052 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHSKf-0005Q4-4Y for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2008 19:47:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44546) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KHSKc-000739-1H; Fri, 11 Jul 2008 19:47: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 m6BNlFED006125; Fri, 11 Jul 2008 16:47:16 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6BNU6HL001650; Fri, 11 Jul 2008 16:30:06 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 550 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:18692 Archived-At: This is a multi-part message in MIME format... ------------=_1215819006-1577-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 12 Jul 2008 00:23:09 +0100 with message-id <4877EB5D.7080804@gnu.org> and subject line Re: bug#550: 23.0.60; A case where file-truename ignores c= ase on w32 has caused the Emacs bug report #550, regarding 23.0.60; A case where file-truename ignores case on w32 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 550: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D550 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1215819006-1577-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00, MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Jul 2008 21:16:31 +0000 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 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 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 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 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 Message-ID: <4877CD9C.5070705@gmail.com> Date: Fri, 11 Jul 2008 23:16:12 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: 23.0.60; A case where file-truename ignores case on w32 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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!) 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' ------------=_1215819006-1577-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 550-done) by emacsbugs.donarmstrong.com; 11 Jul 2008 23:24:03 +0000 Received: from mk-outboundfilter-3.mail.uk.tiscali.com (mk-outboundfilter-3.mail.uk.tiscali.com [212.74.114.23]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6BNNxbl032679 for <550-done@emacsbugs.donarmstrong.com>; Fri, 11 Jul 2008 16:24:00 -0700 X-Trace: 144015970/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAFAEBvV0hTQxds/2dsb2JhbACBW60p X-IronPort-AV: E=Sophos;i="4.30,348,1212361200"; d="scan'208";a="144015970" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 12 Jul 2008 00:23:14 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 21FE02C7; Sat, 12 Jul 2008 00:23:14 +0100 (BST) Message-ID: <4877EB5D.7080804@gnu.org> Date: Sat, 12 Jul 2008 00:23:09 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: "Lennart Borgman (gmail)" CC: 550-done@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org Subject: Re: bug#550: 23.0.60; A case where file-truename ignores case on w32 References: <4877CD9C.5070705@gmail.com> <4877D5A9.3060107@gnu.org> <4877E2D9.7080303@gmail.com> In-Reply-To: <4877E2D9.7080303@gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-CrossAssassin-Score: 2 Lennart Borgman (gmail) wrote: > I suggest replacing > > (or (w32-long-file-name filename) filename))) I just checked in a similar fix. ------------=_1215819006-1577-0--