From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs creates emacs.d/ as root when using sudo Date: Tue, 02 Jul 2019 13:58:37 -0400 Message-ID: References: <8336joe6xl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16076"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: schwab@suse.de, Eli Zaretskii , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 02 21:14:12 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hiOEB-0003d8-CD for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2019 21:14:07 +0200 Original-Received: from localhost ([::1]:56396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiO7l-0000NL-Ic for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2019 15:07:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47295) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiN3N-0001Fk-LA for emacs-devel@gnu.org; Tue, 02 Jul 2019 13:58:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiN3M-0001fr-LK for emacs-devel@gnu.org; Tue, 02 Jul 2019 13:58:53 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:57011) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hiN3F-0001TJ-3Q; Tue, 02 Jul 2019 13:58:45 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 165FD444462; Tue, 2 Jul 2019 13:58:40 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EA28D441B83; Tue, 2 Jul 2019 13:58:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1562090318; bh=FJqp0dm3GMrBH3GN29Pg/bcV+Yu0rDrlAiNdZrd8EHE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EHzwMJ+K8Rp6MjZvgYCgSkAbCv1Yp+zDn4cIa6AQbI6ugz39Q+8vePUlSoCUghPw0 SPAMGg5nQDiZPlOgLSl7BMia42flPhXSGuhFDHNWVWyV3Ph0NCbs4RZckkA+gHpaqa xIGdsXwSrzP4pqNKSfwE9VGnjzoZM5hfzW5sb1ruO7C0m951gouOqdtl/Q+lTb87iv j7A6DoRxYtcWkEL/OJdYoxMr/6XCyO3HFiYXF357GmuWfsl8ncR6zdM6FcOZ8Ou+R1 qVZs9MUAm42KwOSXEmMIsV/zgvfqa3hVuS1GTL4yPjZ7Iwa2OJjdjOBJTZOGBo/H/k wF6bT/0povERQ== Original-Received: from pastel (76-10-151-214.dsl.teksavvy.com [76.10.151.214]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B628D1206C2; Tue, 2 Jul 2019 13:58:38 -0400 (EDT) In-Reply-To: (Lars Ingebrigtsen's message of "Tue, 02 Jul 2019 19:16:42 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:238303 Archived-At: > (While I've had to chown plenty of .emacs/.emacs.d files in my time.) > I'm not saying we should change anything here, really -- but it's a > problem in practice that other editors, like vim, isn't as prone to > being affected by. I think the real problem is that Emacs is a bit too eager to create ~/.emacs.d. It should ideally try and delay this as much as possible. At the same time, it helps keep things simple to create it (and files within it) freely. Stefan