From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "=?iso-8859-1?Q?Jo=E3o_T=E1vora?=" 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 12:42:30 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1544618452 29041 195.159.176.226 (12 Dec 2018 12:40:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2018 12:40:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org, Paul Eggert , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 12 13:40:47 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 1gX3ol-0007Qu-3y for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2018 13:40:47 +0100 Original-Received: from localhost ([::1]:44170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gX3qo-0005pG-B9 for ged-emacs-devel@m.gmane.org; Wed, 12 Dec 2018 07:42:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gX3qi-0005oG-Fd for emacs-devel@gnu.org; Wed, 12 Dec 2018 07:42:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gX3qg-0002nW-Ed for emacs-devel@gnu.org; Wed, 12 Dec 2018 07:42:48 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:40535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gX3qa-0002iw-Q5; Wed, 12 Dec 2018 07:42:41 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id q26so5769388wmf.5; Wed, 12 Dec 2018 04:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=vtHqImVSzVLSmA/HbkXNU5o7fEf9+EKsh0Q4lkJ3kTg=; b=qWWlfY1Lk7YzmNTXEQBtytvHA89cW0MqlON0NNbk0RNIVCOpsAD56bdLB+qZyXWgss rsvQAif7WoefZJU6nLcmsSyp1rPc+T5kABYziSn9nvA3kaY6+IT7h1etzFV0pTbgMhF8 ID6v1uMm7tIdBkVpg4AA1/nKgmgX6abVSYV3KDguWc8/ZJmUO1rmQXcgj4OPlpcQpeWK 15wEwxb5nSo1zlh6zvOpVxhEnJj94tpaezJokxshg3swEIez9KiHqMS1TcG3hNHJDExj 9RHFGcsSufXS61spM/Ua7lGQ7y5zKHFOSkkD4GofMon8c4byZv7NXvGG/r98nIdquB8J DxLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=vtHqImVSzVLSmA/HbkXNU5o7fEf9+EKsh0Q4lkJ3kTg=; b=ATHcsEDNu3sltp9ylGejMFxYtJ/6rzToT9sG7vFDBLfsDYjlnJXOYiadm/FYPV+jHc lfHXFFMlKE3c4JieBZH7BqvDxg140tyMbd5II2lZu7CWNF1Yu2abHxumQXCDKcov7jj/ fcmqkUw5LMiLQON227lDPMIE73AKFUhGcdlq+ivxyFuBVsomeJosadCqoUtvcEFswcbk wN3plsYz2OL3SE9szxClH6E1VR4zYXXGxPkkjq4eh0DfjogiMguHWjVOvuPF9C2eiIUZ tNEac3qecWDWfkOzn4oKWLfWLAgmxSIyQybG9zM22q8BkIp+ygBTJijPese0flg3cMw3 R/BA== X-Gm-Message-State: AA+aEWbBKAC8DPcmLLczT8qNFJ5NTcSC6mYFLd/8XlVB6FvLUJw/aae6 JUIxON/sa9mo5dGOf8fte4iUyyfe X-Google-Smtp-Source: AFSGD/Unqj3Yap/eIgrtk2tz9Q3S5P4fu0p7dafM9vOuDhplfr7spLNLEyCj+4zYleKcsLf090sZfg== X-Received: by 2002:a1c:d08b:: with SMTP id h133mr6194578wmg.8.1544618557427; Wed, 12 Dec 2018 04:42:37 -0800 (PST) Original-Received: from GONDOMAR.yourcompany.com (mail1.siscog.pt. [89.115.233.242]) by smtp.gmail.com with ESMTPSA id 62sm17046931wra.30.2018.12.12.04.42.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Dec 2018 04:42:36 -0800 (PST) X-Google-Original-From: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= X-Antivirus: AVG (VPS 181212-0, 12-12-2018), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 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:231775 Archived-At: Hi, 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=3D"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. With HOME set thusly, this breaks a recent master build immediately (and misteriously), since it can't find/create user-emacs-directory. Notice however that (expand-file-name "z:") does return "z:/". So I think there is an inconsistency here, even if it is true that (file-name-absolute-p "z:") has always returned nil. All of this can be fixed by me by setting HOME to "z:/", but unfortunately I am breaking other applications that expected it slash-less. An alternative would be: * for this part of the change to be reverted in Emacs; * for me to set the correct environment var from the Windows shortcut that points to runemacs.exe. Can it be done easily? Anyway, maybe a tiny edit to the NEWS to mention this particular (and presumably common) case could be worth it. Jo=E3o T=E1vora