From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#550: 23.0.60; A case where file-truename ignores case on w32
Date: Fri, 11 Jul 2008 23:16:12 +0200 [thread overview]
Message-ID: <4877CD9C.5070705@gmail.com> (raw)
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'
next reply other threads:[~2008-07-11 21:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 21:16 Lennart Borgman (gmail) [this message]
2008-07-11 21:50 ` bug#550: 23.0.60; A case where file-truename ignores case on w32 Jason Rumney
2008-07-11 22:46 ` Lennart Borgman (gmail)
2008-07-11 23:23 ` Jason Rumney
2008-07-11 23:49 ` Lennart Borgman (gmail)
2008-07-11 23:30 ` bug#550: marked as done (23.0.60; A case where file-truename ignores case on w32) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4877CD9C.5070705@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=550@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).