From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Swidan, Firas" Newsgroups: gmane.emacs.help Subject: Re: Changing foreground/background colors in all frames Date: Wed, 21 Jun 2006 14:45:37 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150960171 2777 80.91.229.2 (22 Jun 2006 07:09:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Jun 2006 07:09:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 22 09:09:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FtJJW-0005Di-MO for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jun 2006 09:09:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtJJW-0004B0-1k for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jun 2006 03:09:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ft7hu-0001hs-Hz for help-gnu-emacs@gnu.org; Wed, 21 Jun 2006 14:45:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ft7hs-0001hd-4K for help-gnu-emacs@gnu.org; Wed, 21 Jun 2006 14:45:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft7hr-0001ha-U2 for help-gnu-emacs@gnu.org; Wed, 21 Jun 2006 14:45:39 -0400 Original-Received: from [192.239.66.102] (helo=hqexch4.hhmi.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ft7sf-0000AG-Qz for help-gnu-emacs@gnu.org; Wed, 21 Jun 2006 14:56:49 -0400 Original-Received: from 172.19.21.47 ([172.19.21.47]) by hqexch4.hhmi.org ([192.239.66.102]) via Exchange Front-End Server 192.239.66.104 ([192.239.66.104]) with Microsoft Exchange Server HTTP-DAV ; Wed, 21 Jun 2006 18:45:39 +0000 User-Agent: Microsoft-Entourage/11.2.4.060510 Original-To: Gilbert Harman , , Thread-Topic: Changing foreground/background colors in all frames Thread-Index: AcaVSBigVzeV6gE7EdubNAAWy4uWdAAD3xOCAALTdGM= In-Reply-To: X-Mailman-Approved-At: Thu, 22 Jun 2006 03:09:05 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35583 Archived-At: Thanks for the help. I have tried Gil's suggestion and it seems that it did the trick. Firas. On 6/21/06 1:24 PM, "Gilbert Harman" wrote: >> 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 > >