From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandre Schenberg Newsgroups: gmane.emacs.help Subject: Re: Emacs running as root with different colors than the standard one. Date: Sun, 15 Jul 2012 03:28:17 -0300 Message-ID: References: <155DEC68569B714B86C2C7075F5EDA9812CC3818@DAKIYA1.pegasus.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1342333708 3359 80.91.229.3 (15 Jul 2012 06:28:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2012 06:28:28 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Doug Lewan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 15 08:28:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SqIJd-0008SO-Pi for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jul 2012 08:28:25 +0200 Original-Received: from localhost ([::1]:57978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqIJc-0006pV-UC for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jul 2012 02:28:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqIJX-0006pN-Mq for help-gnu-emacs@gnu.org; Sun, 15 Jul 2012 02:28:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqIJW-0004fp-9v for help-gnu-emacs@gnu.org; Sun, 15 Jul 2012 02:28:19 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:53113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqIJW-0004fi-4c for help-gnu-emacs@gnu.org; Sun, 15 Jul 2012 02:28:18 -0400 Original-Received: by obhx4 with SMTP id x4so8978727obh.0 for ; Sat, 14 Jul 2012 23:28:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mn7St9Cz9moPoFJVaG+wq0Vrm36ln1M2ydxCjkA5GVw=; b=aUHg52jGGr3YqTTQQskYPjVNpIsNzVTPxJ3u+rtOHVFDXGtQNk6hZBM06sLlX4mrnR IFATCY+ATOVRQ0yK/3TmptvSogyDKydVgdb1hU9F6fKsLVlKQRYjFwO2TiamcgOLEnLX aihbfwYBN5sqhUs/y9mZOxR4KPMQk3qc6ehjjpnGEwjgstMOnA9Mku41ezZ+wHVQHE4X sHnrCOQf86CJVujI4aHD3X22EVv4U80bJJt6f6RmJGtaxHgn6JxeEDylYNgUw5YYObNn o1XS/GikS+YLrnsdNvWmMoYChkPpSq8or1OPNGg29vAO24nOmpwMRrLbhb+OWucXV53y uQWw== Original-Received: by 10.50.76.231 with SMTP id n7mr2719380igw.7.1342333697138; Sat, 14 Jul 2012 23:28:17 -0700 (PDT) Original-Received: by 10.64.33.9 with HTTP; Sat, 14 Jul 2012 23:28:17 -0700 (PDT) In-Reply-To: <155DEC68569B714B86C2C7075F5EDA9812CC3818@DAKIYA1.pegasus.local> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85857 Archived-At: "C-h v" asks me to: "describle variable" emacs -q doesn't change anything, both as normal user (keep the default color used by the normal user) or as root (keeps the default color used by root) There is only a file in /usr/share/emacs/VERS.ION/site-lips that doesn't have anything to do with color and several files in /usr/share/emacs/site-lisp 2012/7/13, Doug Lewan : > There could be something in site-lisp on your OS that makes root different. > (Often /usr/share/emacs/site-lisp or /usr/share/emacs/VERS.ION/site-lisp, > but not always.) > > FWIW I use different colors for different users on different machines all > the time. It makes distributed development /much/ easier. > > And for dangerous users like root I use unpleasant colors that really get my > attention. It makes it much easier to not do stoopid things. > > ,Doug > >> -----Original Message----- >> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org >> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On >> Behalf Of Alexandre Schenberg >> Sent: Thursday, 2012 July 12 20:19 >> To: help-gnu-emacs@gnu.org >> Subject: Emacs running as root with different colors than the standard >> one. >> >> As the title says, when I executes emacs as root, it uses colors >> different when compared with it running with the privileges of a >> regular user. >> So I would like to know where these colors settings might be stored, >> so that I can copy then to use as a regular user. >> P.S: There isn't a .emacs file under root >> P.S2: Only when running emacs directly as root it uses the mentioned >> colors, when I use "su" it uses the standard colors. >> >> Thanks for any advices. > >