From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: Changing background color of NonText Date: Sat, 24 Jul 2010 17:41:27 +1000 Message-ID: <4C4A9927.5090502@pobox.com> References: <4C487DA1.1000903@gameloft.com> Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279957488 18919 80.91.229.12 (24 Jul 2010 07:44:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Jul 2010 07:44:48 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 24 09:44:45 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcZPY-0004tt-VT for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 09:44:45 +0200 Original-Received: from localhost ([127.0.0.1]:58259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcZPY-0005KE-FD for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 03:44:44 -0400 Original-Received: from [140.186.70.92] (port=38811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcZP8-0005K9-Og for Help-gnu-emacs@gnu.org; Sat, 24 Jul 2010 03:44:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcZP7-00026R-LV for Help-gnu-emacs@gnu.org; Sat, 24 Jul 2010 03:44:18 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:47007 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcZP7-000267-Jq for Help-gnu-emacs@gnu.org; Sat, 24 Jul 2010 03:44:17 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 2D8C9C7CDF for ; Sat, 24 Jul 2010 03:44:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=sasl; bh= yORqHd0gxhZaI6hj5jcfnyoaqK8=; b=qeBJM8SlBpJnJAW+ATmpejU1Lyic0a02 Ow4nNp7amFdMYW5YyjuCM7FWENRhH8iE556D/66nI7ECw7PAGiDVB/dZwrpCZLKk KjBHQ07uVPxk4wMIdkjoh5KwKaWJadyFcdNVRTtjUQtnnQgIKj275uKzVzo0TALl t3f2J/ruoDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:reply-to:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=PP/VON BnyoydbIXeZww/rsseTUDemIg8ZDgILkcTb+Saf/K//h0gcweY/gI5gXauNSRHDV iLpdsktZO+ppbb58D+p2jj2WuXb58jkepzFogaWlACsn+QGoSe7L2KCqyiHpLe5e H2LkKahHEnUrFgVC2JbdxjI//vSuZi/Z0xLJQ= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 21F7FC7CDE for ; Sat, 24 Jul 2010 03:44:16 -0400 (EDT) Original-Received: from localhost.localdomain (unknown [115.70.111.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 61EE1C7CDC for ; Sat, 24 Jul 2010 03:44:15 -0400 (EDT) User-Agent: Thunderbird 2.0.0.24 (X11/20100228) In-Reply-To: <4C487DA1.1000903@gameloft.com> X-Pobox-Relay-ID: 427B5CB2-96F7-11DF-A79D-9056EE7EF46B-14340206!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:74269 Archived-At: > Is there a way to change the background color of NonText. I know how to > do it in Vim but I cannot find how to do it in Emacs. > not sure if i understand correctly, but a quick 'n' dirty way would be to put something like this in your .emacs file: (set-face-background 'default "black") or if you are more adventurous: (setq default-frame-alist `((background-color . "#F0FFF0") ; or "orange" or whatever ; other settings .... )) see "Customizing Faces" in the manual for more information e.g. type M-: (info "(Emacs)Customizing Faces") or maybe visit http://www.emacswiki.org/emacs/CustomizingFaces