[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grey on Grey is hard to read
From: |
Jen |
Subject: |
Re: Grey on Grey is hard to read |
Date: |
Thu, 6 Dec 2001 08:40:39 -0800 (PST) |
You can set face colors like this in your .emacs file:
;; Colors for C-type styles
(set-face-foreground 'font-lock-comment-face "LightSteelBlue3")
(set-face-foreground 'font-lock-string-face "LightSteelBlue1")
You can see a list of faces for a buffer by C-mouse 2 and selecting
Display Faces (and colors by selecting Display Colors).
You can set some other colors like this:
(set-background-color "MidnightBlue")
(set-foreground-color "grey97")
There are other options, too... you may want to look at
C-h a set-.*-color
and
C-h a set-face-.*
There are a lot of .emacs files available on the web that use these
types of customizations too.
-- Jen
--- Bruce Korb <bkorb@veritas.com> wrote:
> "Bingham, Jay" wrote:
> > To set the font and background colors in a mode you need to read
about
> > the mode in the .el file for the mode. Follow the instructions
in it
> > for setting the colors. Depending on the mode it could be very
easy or
> > it could be more complex. It will be easy if the variables for
the
> > colors are defined with a defvar construct.
>
> I grepped for '(defun c-mode' but no luck. Hidden spelling?
> No, hidden directory. Got it now. It's cc-mode, as everyone
> knows. It points back to `font-lock.el' which is what
> I found to be too dense to understand.
>
> HOWEVER, I've also discovered that the colors work fine
> on a white background. Problem is, the default background
> is grey. May I make a suggestion? :-)
>
>
> Thanks! - Bruce
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com