From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?ISO-8859-1?Q?Roberto_Rodr=EDguez?=" Newsgroups: gmane.emacs.bugs Subject: Re: Pls help in emacs settings for Foreground and Background color settings Date: Fri, 8 Dec 2006 10:03:59 -0300 Message-ID: <7b092b2f0612080503u514635cct559daa5b39bdf623@mail.gmail.com> References: <4576E3F6.9090206@adventnet.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0042129326==" X-Trace: sea.gmane.org 1165583176 8610 80.91.229.10 (8 Dec 2006 13:06:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 13:06:16 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 14:06:13 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsfQX-0002jg-4M for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 14:06:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsfQW-0005Ui-Ci for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 08:06:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsfOb-0003n4-W0 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2006 08:04:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsfOX-0003ju-Mr for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2006 08:04:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsfOX-0003jh-GH for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2006 08:04:05 -0500 Original-Received: from [66.249.92.168] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsfOV-0006Ke-H0 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2006 08:04:04 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so872110ugf for ; Fri, 08 Dec 2006 05:04:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=a1YAWtIcB8/ZJCIamjhIV4SYXQ5qs0jKu/mg3YKQosAi2Os5//sGvTtIwSGbS0z+8webbVR4CoqhXqZDTIdCBbe8gm82rRaJ2oP0BZPNj6tB5qz/kEyNF/760GvMpTzS3LC8G++IAeabb5NlvNSXVkgDfn50y61AWK+u1BVDgJc= Original-Received: by 10.82.107.15 with SMTP id f15mr506352buc.1165583040265; Fri, 08 Dec 2006 05:04:00 -0800 (PST) Original-Received: by 10.82.161.2 with HTTP; Fri, 8 Dec 2006 05:03:59 -0800 (PST) Original-To: "Senthil Nathan" In-Reply-To: <4576E3F6.9090206@adventnet.com> X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15449 Archived-At: --===============0042129326== Content-Type: multipart/alternative; boundary="----=_Part_55784_165481.1165583039983" ------=_Part_55784_165481.1165583039983 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 2006/12/6, Senthil Nathan : For Linux machines the settings for the foregroung and backgroun > colours are specified in .emacs file. I am using Windows machine and I > cant fine .emacs file in my installation directory or at any other places. > > Can you please provide me a sample .emacs file that suits to me. I need > to change the default Background color of White to some dark colours > that won't irritates my eyes. Don't worry. If .emacs doesn't exist, visit it in the default directory and it will be created automatically. (If you know how to set an environment variable, you could mock GNU and Unix setting HOME to /home/username.) To change the default colors, you could append something like this to your .emacs: (when window-system (add-to-list 'default-frame-alist '(background-color . "black")) (add-to-list 'default-frame-alist '(foreground-color . "cyan")) (add-to-list 'default-frame-alist '(cursor-color . "yellow"))) Next time you have a question about Emacs usage, please search www.emacswiki.org, or else post your question in http://mail.gnu.org/mailman/listinfo/help-gnu-emacs. This mailing list is meant for reporting bugs in GNU Emacs. ------=_Part_55784_165481.1165583039983 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2006/12/6, Senthil Nathan <senthils@adventnet.com>:

For Linux machines the settings for the foregroung  and backgroun
colours are specified in .emacs file. I am using Windows machine and I
cant fine .emacs file in my installation directory or at any other places.

Can you please provide me a sample .emacs file that suits to me. I need
to change the default Background color of White to some dark colours
that won't irritates my eyes.

Don't worry. If .emacs doesn't exist, visit it in the default directory and it will be created automatically. (If you know how to set an environment variable, you could mock GNU and Unix setting HOME to /home/username.)

To change the default colors, you could append something like this to your .emacs:

(when window-system
  (add-to-list 'default-frame-alist '(background-color . "black"))
  (add-to-list 'default-frame-alist '(foreground-color . "cyan"))
  (add-to-list 'default-frame-alist '(cursor-color . "yellow")))

Next time you have a question about Emacs usage, please search www.emacswiki.org, or else post your question in http://mail.gnu.org/mailman/listinfo/help-gnu-emacs.

This mailing list is meant for reporting bugs in GNU Emacs.
------=_Part_55784_165481.1165583039983-- --===============0042129326== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --===============0042129326==--