Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I open a new frame in emacs, none of the settings in my .emacs file are evaluated unless I open the file and evaluate the buffer manually. Is there a secret that I am missing? Some bit of magic in my .emacs file that should handle this?

share|improve this question
the .emacs is only evaluated once when Emacs start. So all configuration there should apply to all frame. That said there are things that only apply to the initial frame. If you could be more specific on what is not set in the new frame. – Rémi Nov 21 '11 at 16:58
i'm primarily concerned with the color schemes – Larry G. Wapnitsky Nov 21 '11 at 19:01
up vote 2 down vote accepted

To define colors in all emacs frame, one can change the default face:

(set-face-attribute 'default nil :background "black")
(set-face-attribute 'default nil :foreground "gray90")

Or use default-frame-alist:

(setq default-frame-alist
  '((foreground-color . "gray90")
    (background-color . "black")))

I've both in my .emacs, and there could be a reason...

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .