From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root Date: Sat, 13 Jul 2019 11:34:24 +0200 Message-ID: References: <87ims94p6p.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170260"; mail-complaints-to="usenet@blaine.gmane.org" Cc: sb@dod.no, Lars Ingebrigtsen , 36583@debbugs.gnu.org, Richard Stallman , Stefan Monnier To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 11:35:13 2019 Return-path: Envelope-to: geb-bug-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 1hmEQz-000i55-B3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 11:35:13 +0200 Original-Received: from localhost ([::1]:54302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmEQt-0004kM-41 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 05:35:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53553) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmEQp-0004k2-KY for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 05:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmEQo-0000Xs-Q9 for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 05:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmEQo-0000Xj-MX for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 05:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmEQo-0000uN-HX for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2019 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36583 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 36583-submit@debbugs.gnu.org id=B36583.15630104843463 (code B ref 36583); Sat, 13 Jul 2019 09:35:02 +0000 Original-Received: (at 36583) by debbugs.gnu.org; 13 Jul 2019 09:34:44 +0000 Original-Received: from localhost ([127.0.0.1]:41472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmEQV-0000tn-OG for submit@debbugs.gnu.org; Sat, 13 Jul 2019 05:34:44 -0400 Original-Received: from mail-wr1-f65.google.com ([209.85.221.65]:39413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmEQT-0000ta-QU for 36583@debbugs.gnu.org; Sat, 13 Jul 2019 05:34:42 -0400 Original-Received: by mail-wr1-f65.google.com with SMTP id x4so12214673wrt.6 for <36583@debbugs.gnu.org>; Sat, 13 Jul 2019 02:34:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j60gMd3NALkQtJnUAY+V6DsIM//KLhFtZKbXHukbiuo=; b=lpOm3L6DH02HZn5poY3HIEah6usGgBNr0f5Qh9VxuT8Qip/8k6TmqchUUE1yRj3xti fu4/Oo3M16gTWVSaclPJvay0+r1RMakufmWQOQ5vTcfsRMXi0nKq6qR1FbMNdl0HL4tR kyZiYna4K7XddBzFzXo2rn/jC9RC5Tg9sNuN7naQfvArNuxD64mJRlYbJZRWm6aG2CqB nst2ikvBTuDn+7y7DOswb3aLReAju4Dlq/Zf1YtF4P+EQab5dLpCWvwgIBOaDsHj5dD8 Ib/M2g0JIaQCs9yCVepetkqaWRWJa1dMCJfNYEZ9OJoDQuXp6DFb8+kOuQb0cuwRRvJv VXZg== X-Gm-Message-State: APjAAAUUnkRI9m4lS1AIm4+iTPwFeEXucJQQ5lrki5rboeCjLnTsTmo7 pzl1TqQ9Z29YzTuz48/9gBZb+U7ZNGdJClebp5o= X-Google-Smtp-Source: APXvYqyRDXTd29gD6g2qzV6+svjgzpf9Xn4zrI6i0K9tIgd/Q7KflK9EOEyOmvxiVZorEUdobk9QGUFT6M7AGSxEmzw= X-Received: by 2002:adf:eec4:: with SMTP id a4mr15935710wrp.85.1563010476025; Sat, 13 Jul 2019 02:34:36 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162864 Archived-At: Andreas Schwab writes: > On Jul 12 2019, Richard Stallman wrote: > > > I think I asked for this feature so that when I run Emacs as root I > > will get the commands I am accustomed to. > > Nowadays this is perhaps obsoleted by Tramp. Tramp covers this use case for me at least. FWIW, I think we should remove this feature. It has always surprised me since it's so different from how other programs on GNU/Linux usually behaves. Would it be a good idea to also add something to the FAQ or Manual on the recommended way to edit files as root (which perhaps should be: use Tramp)? Thanks, Stefan Kangas