From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: 900276502f..: Paul Eggert 2018-11-13 Act like POSIX sh if $HOME is relative Date: Wed, 12 Dec 2018 14:28:35 +0100 Message-ID: <87ftv2ri0s.fsf@telefonica.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1544621903 3695 195.159.176.226 (12 Dec 2018 13:38:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2018 13:38:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 12 14:38:18 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gX4iO-0000nX-H7 for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2018 14:38:16 +0100 Original-Received: from localhost ([::1]:44966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gX4kV-00046Y-5k for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2018 08:40:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gX4ZF-0003RU-4Q for emacs-devel@gnu.org; Wed, 12 Dec 2018 08:28:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gX4ZB-0001is-1W for emacs-devel@gnu.org; Wed, 12 Dec 2018 08:28:49 -0500 Original-Received: from [195.159.176.226] (port=42103 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gX4ZA-0001hR-Pu for emacs-devel@gnu.org; Wed, 12 Dec 2018 08:28:44 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gX4X0-0002tV-Ph for emacs-devel@gnu.org; Wed, 12 Dec 2018 14:26:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:5hYLopTZDvMiWdV/x975/AFYqBo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231777 Archived-At: "João Távora" writes: > I've only now caught up with the discussion of bug#33255. Are the > consequences of interpreting the string "c:" on Windows as a relative > file name understood? > > With HOME="z:", it used to be that (expand-file-name "~/blabla") > returned "z:/blabla" but now it returns > "z:/source/emacs/emacs/src/z:/blabla", which is not a valid Windows > pathname. [snip] I was about to post a reply but Yuri already answered, so I'll only add a pointer to an official reference about this topic: https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats