all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gilbert Harman <harman@Princeton.EDU>
Subject: Re: Changing foreground/background colors in all frames
Date: Wed, 21 Jun 2006 13:24:42 -0400	[thread overview]
Message-ID: <C0BEF91A.24FC5%harman@princeton.edu> (raw)
In-Reply-To: <C0BEDF1F.7A1%swidanf@hhmi.org>

> I am unable to set the default foreground and background colors in all emacs
> frames. I have added
> 
> (set-background-color "black")
> (set-foreground-color "white")
> 
> To my .emacs. This changes the setting in the first emacs frame.  However,
> if I use 
> 
> C-x 5 f 
> 
> To open a new file in a new frame, the foreground/background settings in the
> .emacs file do not seem to affect the look of the new frame.
> 
> Any ideas how to tackle this issue?

(add-to-list 'default-frame-alist '(foreground-color . "white"))
(add-to-list 'default-frame-alist '(background-color . "black"))


  Gil

  reply	other threads:[~2006-06-21 17:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 15:33 Changing foreground/background colors in all frames Swidan, Firas
2006-06-21 17:24 ` Gilbert Harman [this message]
2006-06-21 18:45   ` Swidan, Firas
2006-06-21 17:38 ` Ehud Karni
2006-06-21 19:21 ` Peter Dyballa
     [not found] ` <mailman.3128.1150911529.9609.help-gnu-emacs@gnu.org>
2006-06-21 19:21   ` Norbert Melzer
2006-06-21 20:15     ` Drew Adams
     [not found] <mailman.3123.1150909180.9609.help-gnu-emacs@gnu.org>
2006-06-21 22:36 ` Tim X

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

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

  git send-email \
    --in-reply-to=C0BEF91A.24FC5%harman@princeton.edu \
    --to=harman@princeton.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.