From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: How to make emacs stop trying to load /home/sb/.emacs after su to root? Date: Sat, 13 Jul 2019 10:04:55 -0500 Message-ID: <65013EB6-F949-4F14-8A99-E76518D7AA6A@easesoftware.com> References: <864l3w18ae.fsf@dod.no> <86bly0xxit.fsf@dod.no> <867e8oxx2q.fsf@dod.no> <3D7E0823-F1A4-4C32-8177-143BF1736B6C@easesoftware.com> <86muhjw7ub.fsf@dod.no> <86ims7vska.fsf@dod.no> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="262536"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: Steinar Bang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 17:20:19 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 1hmJoq-0015wZ-3Q for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 17:20:12 +0200 Original-Received: from localhost ([::1]:56770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmJb0-0008Lf-KR for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 11:05:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54583) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmJaw-0008Ij-KW for help-gnu-emacs@gnu.org; Sat, 13 Jul 2019 11:05:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmJau-0005H8-Ib for help-gnu-emacs@gnu.org; Sat, 13 Jul 2019 11:05:50 -0400 Original-Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:22911) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hmJas-0004iA-JD for help-gnu-emacs@gnu.org; Sat, 13 Jul 2019 11:05:46 -0400 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F226C141F5C; Sat, 13 Jul 2019 15:05:03 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (100-96-38-48.trex.outbound.svc.cluster.local [100.96.38.48]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 067621421F0; Sat, 13 Jul 2019 15:05:02 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from mi3-ss4.a2hosting.com ([TEMPUNAVAIL]. [68.66.200.199]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sat, 13 Jul 2019 15:05:03 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Hysterical-Keen: 0bfb6cac56a2a71e_1563030303705_447635714 X-MC-Loop-Signature: 1563030303705:3649207168 X-MC-Ingress-Time: 1563030303704 Original-Received: from [162.251.11.6] (port=57316 helo=[192.168.1.121]) by mi3-ss4.a2hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hmJa4-008Dp1-VG; Sat, 13 Jul 2019 11:04:57 -0400 In-Reply-To: <86ims7vska.fsf@dod.no> X-Mailer: Apple Mail (2.3445.104.8) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.212.18 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:121168 Archived-At: > On Jul 12, 2019, at 4:41 PM, Steinar Bang wrote: >=20 >> Stefan "who always uses `su -`" >=20 > Ah well... old habits are so hard to break. :-) Just trying to help =E2=80=A6 You could alias su. Personally I find aliases have problems. So, what = I find better are small trivial functions (assuming you are using = bash/ksh/=E2=80=A6) that changes the command you like to type into the = command that =E2=80=9Cworks=E2=80=9D (by your definition of =E2=80=9Cworks= =E2=80=9D)