From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: How to make emacs stop trying to load /home/sb/.emacs after su to root? Date: Tue, 09 Jul 2019 00:16:41 +0200 Message-ID: <864l3w18ae.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="209370"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 00:23:34 2019 Return-path: Envelope-to: geh-help-gnu-emacs@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 1hkc2o-000sGa-HT for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 00:23:34 +0200 Original-Received: from localhost ([::1]:45202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkbxC-0000P2-5C for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jul 2019 18:17:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46890) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkbwT-0000Mz-EQ for help-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:17:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkbwS-0002V3-Kb for help-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:17:01 -0400 Original-Received: from cadalora.default.sbang.uk0.bigv.io ([2001:41c9:1:424::90]:57828 helo=cadalora.bang.priv.no) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hkbwS-0002L2-EM for help-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:17:00 -0400 Original-Received: from mccoy (cm-84.212.50.160.getinternet.no [84.212.50.160]) by cadalora.bang.priv.no (Postfix) with ESMTPSA id 79E76CDF2D for ; Mon, 8 Jul 2019 23:16:41 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:41c9:1:424::90 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121117 Archived-At: debian 10.0 "buster", amd64 emacs 26.1 I do /bin/su to change the user to root. HOME is set to /root However emacs still tries to load /home/sb/.emacs How can I make emacs stop loading the original user's .emacs when logged in as root? Thanks! - Steinar