From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: Emacs running as root with different colors than the standard one. Date: Thu, 12 Jul 2012 23:00:37 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1342159247 17012 80.91.229.3 (13 Jul 2012 06:00:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2012 06:00:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 13 08:00:47 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 1SpYvm-0008GQ-JK for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2012 08:00:46 +0200 Original-Received: from localhost ([::1]:42789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpYvl-0007kA-Oe for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2012 02:00:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpYvg-0007jr-JH for help-gnu-emacs@gnu.org; Fri, 13 Jul 2012 02:00:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpYvf-0001M4-Mz for help-gnu-emacs@gnu.org; Fri, 13 Jul 2012 02:00:40 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:50414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpYvf-0001Ls-FA for help-gnu-emacs@gnu.org; Fri, 13 Jul 2012 02:00:39 -0400 Original-Received: by lbjn8 with SMTP id n8so4985984lbj.0 for ; Thu, 12 Jul 2012 23:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=N9Nv3WwA4xBP39LhKj0ulAGswQr6amlrziN7/jI9A8c=; b=lslZoCJJBbIwm4as/3iLQ0/003R8EFBH3vTevmwTxG5fe6Zj4Lqkn1xy7ZIYiom7B6 Xg/DVXwrmfq9DEcPh4t73Uq90TxZInhwHNdw9zybdeNyuHhnHx+iSjeW7w9CkiWo9WHL AZsgYB761Uq2n5209bTvloGS7O7jxwHl2czg7ObKSXJo7WIdoCQApuEIIqEO2ilBjijd ccWKtObN6hkB+REb8uUrU0Onc3fW8yJVcbU0JQcEQtljp7ytzLwTt/H7BXfycpuCKQPQ vpDFb28V7ID0Tfo0pL4O6n1Bg9onmz7RbvIzBDQVUzXCnc9Ip5MyOqOfGgsuJrRb/Yoe S/ZQ== Original-Received: by 10.152.103.109 with SMTP id fv13mr1038428lab.33.1342159237791; Thu, 12 Jul 2012 23:00:37 -0700 (PDT) Original-Received: by 10.112.5.102 with HTTP; Thu, 12 Jul 2012 23:00:37 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 93DQN_VU8LFVU0zNyCxTFS0ljRk X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.217.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:85829 Archived-At: On Thu, Jul 12, 2012 at 5:19 PM, Alexandre Schenberg wrote: > 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. > Are you sure there's no .emacs file for root? Check the value of user-init-file (use 'C-h v'). If that really doesn't correspond to any file, then try running 'emacs -q' as your normal user. That'll tell Emacs not to load your init file, so you can see if maybe there's something in *your* init file that's causing the colors to be different. -PJ Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced.