From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Re: Set background color Date: Fri, 5 Apr 2002 13:58:07 -0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <000301c1dc7d$3b9c3440$aec809c0@isih.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="============_-1194078607==_ma============" X-Trace: main.gmane.org 1018044050 27679 127.0.0.1 (5 Apr 2002 22:00:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 5 Apr 2002 22:00:50 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16tblK-0007CK-00 for ; Sat, 06 Apr 2002 00:00:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tbkd-0000I7-00; Fri, 05 Apr 2002 17:00:07 -0500 Original-Received: from renfield.synergymicro.com ([153.105.4.30] helo=synergymicro.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tbin-0000F8-00 for ; Fri, 05 Apr 2002 16:58:13 -0500 Original-Received: from synergy.synergy.encinitas.ca.us ([153.105.4.29]) by synergymicro.com (8.9.3/8.9.3) with ESMTP id OAA09586 for ; Fri, 5 Apr 2002 14:49:40 -0800 Original-Received: from [198.17.100.22] (G_Hill_Mac [198.17.100.22]) by synergy.synergy.encinitas.ca.us (8.9.3/8.8.7) with ESMTP id NAA15470 for ; Fri, 5 Apr 2002 13:59:01 -0800 In-Reply-To: <000301c1dc7d$3b9c3440$aec809c0@isih.net> Original-To: Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:56 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:56 --============_-1194078607==_ma============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" The command M-x list-colors-display will give you a list of all the colors that are available. If you are using X Windows, you can put commands like these in your .Xdefaults file: Emacs.Background: Black Emacs.Foreground: White You could put commands like these in your .emacs file: (set-background-color "Black") (set-foreground-color "White") (set-cursor-color "White") (set-mouse-color "White") But these commands apply to only the current frame. Commands that create additional frames would revert to the default colors. --Greg At 11:38 AM +0300 4/5/02, Antonis Matsakas wrote: >Hi there, >Can you tell me how can I set the background color in emacs? I am using the >set-background-color command but when I restart emacs the color setting is >gone. > >Regards, Andonis Matsakas >SW Engineer --============_-1194078607==_ma============ Content-Type: text/html; charset="us-ascii" Re: Set background color
The command M-x list-colors-display will give you a list of all the colors that are available.

If you are using X Windows, you can put commands like these in your .Xdefaults file:

Emacs.Background: Black
Emacs.Foreground: White

You could put commands like these in your .emacs file:

(set-background-color "Black")
(set-foreground-color "White")
(set-cursor-color "White")
(set-mouse-color "White")

But these commands apply to only the current frame.  Commands that create additional frames would revert to the default colors.

--Greg

At 11:38 AM +0300 4/5/02, Antonis Matsakas wrote:
Hi there,
Can you tell me how can I set the background color in emacs? I am using the
set-background-color command but when I restart emacs the color setting is
gone.

Regards, Andonis Matsakas
SW Engineer
--============_-1194078607==_ma============--