unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: PJ Weisberg <pj@irregularexpressions.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs running as root with different colors than the standard one.
Date: Thu, 12 Jul 2012 23:00:37 -0700	[thread overview]
Message-ID: <CAJsNXTm_GJeJK2_oYVAQT99mxPAPTQL-cV1r8EA0wU4PYvfFYQ@mail.gmail.com> (raw)
In-Reply-To: <CAJM4N8+8KkwmpSJ1N3=n1PJcyqsbe4-KHdCzwmAo4WXWorjfCQ@mail.gmail.com>

On Thu, Jul 12, 2012 at 5:19 PM, Alexandre Schenberg
<ale.schenberg@gmail.com> 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.



  reply	other threads:[~2012-07-13  6:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13  0:19 Emacs running as root with different colors than the standard one Alexandre Schenberg
2012-07-13  6:00 ` PJ Weisberg [this message]
2012-07-13 15:41 ` Doug Lewan
2012-07-15  6:28   ` Alexandre Schenberg
     [not found]   ` <mailman.4808.1342333701.855.help-gnu-emacs@gnu.org>
2012-07-15  8:43     ` Pascal J. Bourguignon
2012-07-15 11:09       ` Cecil Westerhof
     [not found] <mailman.4673.1342138855.855.help-gnu-emacs@gnu.org>
2012-07-16  0:58 ` Jason Rumney
2012-07-18  9:11   ` Alexandre Schenberg
     [not found] <mailman.4855.1342400337.855.help-gnu-emacs@gnu.org>
2012-07-21  0:22 ` jidanni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJsNXTm_GJeJK2_oYVAQT99mxPAPTQL-cV1r8EA0wU4PYvfFYQ@mail.gmail.com \
    --to=pj@irregularexpressions.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).