bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#550: 23.0.60; A case where file-truename ignores case on w32


From: Lennart Borgman (gmail)
Subject: bug#550: 23.0.60; A case where file-truename ignores case on w32
Date: Fri, 11 Jul 2008 23:16:12 +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

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'






reply via email to

[Prev in Thread] Current Thread [Next in Thread]