Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where is emacs cofiguration file?

2 views
Skip to first unread message

Vladimir Brik

unread,
Jun 30, 2001, 10:27:25 AM6/30/01
to
Hi

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


those who know me have no need of my name

unread,
Jun 30, 2001, 12:13:26 PM6/30/01
to
<hll%6.6369$ck5.6...@newsread2.prod.itd.earthlink.net> divulged:

>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

those who know me have no need of my name

unread,
Jun 30, 2001, 8:24:03 PM6/30/01
to
<9hktr...@enews3.newsguy.com> divulged:
><hll%6.6369$ck5.6...@newsread2.prod.itd.earthlink.net> divulged:

>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.

Ole Laursen

unread,
Jul 2, 2001, 6:37:54 AM7/2/01
to
> Does anybody know where is emac's configuration file that contains
> default settings for background colors and fonts?

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/

those who know me have no need of my name

unread,
Jul 2, 2001, 11:37:55 AM7/2/01
to
<m366db6...@bach.composers> divulged:

>> 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.

0 new messages