From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Rodolfo Medina" Newsgroups: gmane.emacs.help Subject: Re: Background colour customization Date: Mon, 21 Feb 2005 18:38:11 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109007747 15223 80.91.229.2 (21 Feb 2005 17:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 17:42:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 21 18:42:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3HZX-0002gw-C2 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Feb 2005 18:42:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3HqW-0006AT-3n for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Feb 2005 12:59:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3HpF-0005gT-Kh for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:58:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3Hp6-0005aX-68 for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:58:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3Hp5-0005ZA-RK for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:58:19 -0500 Original-Received: from [193.70.192.51] (helo=smtp1.libero.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3HZn-0002CA-Cm for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:42:32 -0500 Original-Received: from localhost (172.16.1.82) by smtp1.libero.it (7.0.027-DD01) id 41BDB2AB00EFEBF4 for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 18:42:16 +0100 Original-Received: from a3i3g5 (151.26.50.58) by smtp0.libero.it (7.0.027-DD01) id 41BF5F48046D54CF for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 18:37:22 +0100 Original-Received: from 127.0.0.1 (AVG SMTP 7.0.306 [265.8.9]); Mon, 21 Feb 2005 18:38:11 +0100 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal X-Virus-Scanned: by amavisd-new at libero.it serv3 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24219 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24219 Rodolfo wrote: > Recently I downloaded and installed Emacs CVS, > and it came up all white, whereas I like that dark smart green > with which Emacs opens up, i.e., from Mandrake default installation. > Can anyone suggest how to customize that? Ismael Valladolid Torres wrote: > For a ``Mandraky'' look I use: > > (defvar current-background "DarkSlateGray") > (defvar current-cursor "Orchid") > (defvar current-foreground "Wheat") > > (set-background-color current-background) > (set-cursor-color current-cursor) > (set-foreground-color current-foreground) > > (set-default-font current-font) > (setq default-frame-alist > (list > (cons 'font current-font) > (cons 'background-color current-background) > (cons 'cursor-color current-cursor) > (cons 'foreground-color current-foreground))) > > (setq initial-frame-alist default-frame-alist) Thanks indeed, it's exactly what I wanted! Many thanks to Drew Adams and Mathias Dahl also, who kindly replied. Cheers, Rodolfo