From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: emacsclient and sudo Date: Wed, 24 Feb 2021 18:48:54 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37267"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 24 18:49:54 2021 Return-path: Envelope-to: geh-help-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 1lEyIM-0009cv-69 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 18:49:54 +0100 Original-Received: from localhost ([::1]:46622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEyIL-0006An-73 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 12:49:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEyI1-0006Ad-GF for help-gnu-emacs@gnu.org; Wed, 24 Feb 2021 12:49:33 -0500 Original-Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:40509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEyI0-0007Bk-65 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2021 12:49:33 -0500 Original-Received: by mail-oi1-x22d.google.com with SMTP id 18so3235911oiz.7 for ; Wed, 24 Feb 2021 09:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vYliFjvFtc8i+ywl6PPYVgttjv6inXsjLd+4DByrwao=; b=s27kE3NJpN/y9Fe8woktpHVGn+6hT2cScP8I1855X7h9vPpx5RyGZ+IAcJ+su/xE33 aSh6stt/uNr+uM4DugkXUfcyt5q4ekN0TfSEjwWsfRiK07VqstNvFZL8iAgvI1OSUfTc m6Vc87o0KzwtKaNm/xhE0+PhwonTCGlGsnAgq6oFyiuYEjRR2HbVPsWnZxXtAJmYOe9Q U8UbHb9muE1vGumiPYyLzHq9ldlfD/7F3gYzgSZarSW47CQ6avp9MdyucSSxHIcCzrhh JO1tIYlkUlbDAxZRKJ3j50gyewBcnidplaWfD6TYM/hEqZLdQ+bmNyDHk1wGB014dyMW zfsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vYliFjvFtc8i+ywl6PPYVgttjv6inXsjLd+4DByrwao=; b=rR1WJ477SyqNlIAhP5HI8hYmVb75vKx5G3pIOYT0sDXA1v3BhVE+U+g/z8YAmL8HPC rHFxie4e3d5fPYC7fP27namNIU65Cqzcxixin9WBh2yM/fmnJiL6AOvlRLeu14pW0n9K 3y2WYRaHI3h0Zi02DbxXrj6I4KjklWmP/3O1CFRi3xbkWzoaMt+EpM845HL/GUPsIK9w nYoX2jxzkKVWuzT8UheIRrA2Q5NaEgF+900WRcRItR8yeVfj1WaZjKtMgDjpyrcBc7Qx SvK4bGXabeNNesbycQAO6opzmYds82hZp7m9ZSaiQB/Gp94dt0+kTIBDVoYrcL8ra8sY 9Brg== X-Gm-Message-State: AOAM531BKFXennzFfYs5AZfcBaUX0z8SzVQbzSRkwuY9xJTZCROGfkZ2 J1yFgg5lms9/zlvJwJFAcrFbFVruc+68y94aOqrB+odJulo= X-Google-Smtp-Source: ABdhPJwWMi2FM2/H1xIroXGmuYRS5+h09pEqYu8hb4Rd0oyMEoHzDPfMquxH4y08OljcH7XoEdARU8W2IOOXLqwkHM0= X-Received: by 2002:a05:6808:608:: with SMTP id y8mr3493383oih.55.1614188970474; Wed, 24 Feb 2021 09:49:30 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=fluca1978@gmail.com; helo=mail-oi1-x22d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128227 Archived-At: Hi all, when I start my emacsclient I can see all the colors I've setup for fonts and faces. However, when I start it thru sudo (e..g, to quickly edit a file with privileges instead of using tramp) all my settings seem to be gone. So far, I'm starting it normally (without sudo) and use tramp to edit a file with sudo, but sometimes my fingers are faster than my brain and I type "sudo emacs ...". I suspect sudo is doing something to prevent emacs to start with my settings, even if my home environment is kept. Anyone else dealing with this? Thanks, Luca