From: Eli Zaretskii <eliz@gnu.org>
To: xahlee@gmail.com
Cc: 11827-done@debbugs.gnu.org
Subject: bug#11827: 24.1; file-relative-name fail on some MS Windows path
Date: Sun, 01 Jul 2012 19:40:54 +0300 [thread overview]
Message-ID: <83y5n35t9l.fsf@gnu.org> (raw)
In-Reply-To: <CAGOnjhRyv0BRq4B+DqsqS2wSj9+rmBhR0BBF2SRdofC9P+d+=w@mail.gmail.com>
> Date: Sat, 30 Jun 2012 11:49:26 -0700
> From: Xah Lee <xahlee@gmail.com>
>
> file-relative-name doesn't work on MS Windows style path when the
> drive letter is capitalized.
>
> (file-relative-name "C:/Users/web/xyz.html" "C:/Users/web/") ; returns
> "C:/Users/web/xyz.html"
> (file-relative-name "c:/Users/web/xyz.html" "c:/Users/web/") ; returns
> "xyz.html"
> (file-relative-name "/Users/web/xyz.html" "/Users/web/") ; returns "xyz.html"
>
> GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN
Fixed in revision 108064 on the emacs-24 branch, for Emacs 24.2.
Thanks.
prev parent reply other threads:[~2012-07-01 16:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 18:49 bug#11827: 24.1; file-relative-name fail on some MS Windows path Xah Lee
2012-07-01 16:40 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y5n35t9l.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=11827-done@debbugs.gnu.org \
--cc=xahlee@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.