* bug#11827: 24.1; file-relative-name fail on some MS Windows path
@ 2012-06-30 18:49 Xah Lee
2012-07-01 16:40 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Xah Lee @ 2012-06-30 18:49 UTC (permalink / raw)
To: 11827, eliz
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
Xah
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#11827: 24.1; file-relative-name fail on some MS Windows path
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
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2012-07-01 16:40 UTC (permalink / raw)
To: xahlee; +Cc: 11827-done
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-01 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.