From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47298: Emacs creates HOME if it does not exist Date: Mon, 22 Mar 2021 19:29:23 +0200 Message-ID: <83wntz9jws.fsf@gnu.org> References: <20lfag5rru.fsf@fencepost.gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40339"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47298@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 22 18:36:59 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOOU6-000ALv-Po for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 18:36:58 +0100 Original-Received: from localhost ([::1]:48916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOU5-00021V-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 13:36:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOONP-00050X-BG for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOONO-0007Uz-J3 for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOONO-00009r-E7 for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47298 X-GNU-PR-Package: emacs Original-Received: via spool by 47298-submit@debbugs.gnu.org id=B47298.1616434168545 (code B ref 47298); Mon, 22 Mar 2021 17:30:02 +0000 Original-Received: (at 47298) by debbugs.gnu.org; 22 Mar 2021 17:29:28 +0000 Original-Received: from localhost ([127.0.0.1]:58467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOMq-00008j-Cs for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:29:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOMo-00008W-PP for 47298@debbugs.gnu.org; Mon, 22 Mar 2021 13:29:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35128) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOMj-00071P-J2 for 47298@debbugs.gnu.org; Mon, 22 Mar 2021 13:29:21 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2680 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOOMh-0003R7-Ef; Mon, 22 Mar 2021 13:29:20 -0400 In-Reply-To: <20lfag5rru.fsf@fencepost.gnu.org> (message from Glenn Morris on Sun, 21 Mar 2021 13:40:53 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202847 Archived-At: > From: Glenn Morris > Date: Sun, 21 Mar 2021 13:40:53 -0400 > > IMO the Emacs 26.3 behaviour is correct, and Emacs should not be > creating HOME if it does not exist. I'm not sure I agree with you. What do other programs do in this situation? And if we don't create ~/.emacs.d, how can we save user's customizations? > One may want to set a non-existent HOME eg for testing. That might mean we need to find other ways of isolating tests from user customizations. Does anyone else have an opinion on this?