From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Emacs Defect. file-relative-name fail on some MS Windows Styled Path Date: Sat, 30 Jun 2012 09:42:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <56cbed23-5da2-4173-a5e2-706a1e63b3f4@oo8g2000pbc.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1341074716 19999 80.91.229.3 (30 Jun 2012 16:45:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2012 16:45:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 30 18:45:15 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sl0nI-0005nl-G8 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2012 18:45:12 +0200 Original-Received: from localhost ([::1]:42877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sl0nI-0007y3-Ex for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2012 12:45:12 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!oo8g2000pbc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 19 Original-NNTP-Posting-Host: 76.126.112.84 Original-X-Trace: posting.google.com 1341074573 2808 127.0.0.1 (30 Jun 2012 16:42:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 30 Jun 2012 16:42:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: oo8g2000pbc.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.43 Safari/536.11,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:193195 comp.emacs:102533 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85586 Archived-At: 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