unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs Defect. file-relative-name fail on some MS Windows Styled Path
@ 2012-06-30 16:42 Xah Lee
  2012-06-30 17:21 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Xah Lee @ 2012-06-30 16:42 UTC (permalink / raw)
  To: help-gnu-emacs

Emacs Defect. file-relative-name fail on some MS Windows Styled Path

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

http://ergoemacs.org/emacs/emacs_bugs.html

 Xah


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-30 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-30 16:42 Emacs Defect. file-relative-name fail on some MS Windows Styled Path Xah Lee
2012-06-30 17:21 ` Eli Zaretskii
2012-06-30 17:36   ` Eli Zaretskii
     [not found]   ` <mailman.3770.1341077781.855.help-gnu-emacs@gnu.org>
2012-06-30 18:52     ` Xah Lee

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).