bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pls help in emacs settings for Foreground and Background color setti


From: Roberto Rodríguez
Subject: Re: Pls help in emacs settings for Foreground and Background color settings
Date: Fri, 8 Dec 2006 10:03:59 -0300



2006/12/6, Senthil Nathan <address@hidden>:

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]