Does anybody know where is emac's configuration file that contains default settings for
background colors and fonts?
I run Redhat Linux and at first everything was fine. Then I had to use failsafe mode a
couple of times and after that emacs just got mixed up. The text now has white background
and everything else has greenish backgrond, which is very annoying.
It seems like there is something wrong with the configuration file, but I don't know where
it is.
Also, emacs looks funny only when I log as root, it's fine otherwise. Why is that, does it
keep different config files for different users?
Thx
>Does anybody know where is emac's configuration file that contains default
>settings for background colors and fonts?
in ~/.emacs usually.
>I run Redhat Linux and at first everything was fine. Then I had to use
>failsafe mode a couple of times
failsafe mode?
perhaps there's a /usr/X11R6/lib/X11/app-defaults/Emacs file that now
contains rubbish.
>The text now has white background
>and everything else has greenish backgrond, which is very annoying.
customize the `default' face.
>Also, emacs looks funny only when I log as root, it's fine otherwise. Why
>is that, does it keep different config files for different users?
of course, everyone has their own custom-file.
--
okay, have a sig then
>perhaps there's a /usr/X11R6/lib/X11/app-defaults/Emacs file that now
>contains rubbish.
there might also be system wide xrdb settings that have been trashed.
Normally all settings are stored as LISP code in the file '.emacs' in
your home directory. However, since Emacs also is an X program using
the Athena widget set, it is also possible to change some of the
visual parameters with X resource files.
I think Red Hat puts some of these visual settings in '.Xresources' in
the home directories. So take a look at '/root/.Xresources', that's
probably where your problem is.
> Also, emacs looks funny only when I log as root, it's fine
> otherwise. Why is that, does it keep different config files for
> different users?
This is Unix, all programs are supposed to keep as much as their
configuration as possible in the hands of the individual users. So
each user has a .emacs, and each user has (or may have) a .Xresources.
--
Ole Laursen
http://sunsite.dk/olau/
>> Also, emacs looks funny only when I log as root,
>This is Unix, all programs are supposed to keep as much as their
>configuration as possible in the hands of the individual users. So
>each user has a .emacs, and each user has (or may have) a .Xresources.
and in the case of running a program as root it's sometimes worthwhile to
remind the user of that fact.