make emacs in a terminal use dark colors and not light font-lock colors
Posted
by vy32
on Stack Overflow
See other posts from Stack Overflow
or by vy32
Published on 2010-04-11T17:32:39Z
Indexed on
2010/04/11
17:33 UTC
Read the original article
Hit count: 643
I am using emacs on MacOS 10.6 with Terminal. I have a white background.
It's very hard to read quoted C++ strings. They are coming up in pale green. Keywords are in turquoise.
After searching through the source I cam across cpp.el and have determined that I am using the cpp-face-light-name-list instead of cpp-face-dark-name-list.
Apparently this function is supposed to chose the correct list based on the background color:
(defcustom cpp-face-default-list nil
"Alist of faces you can choose from for cpp conditionals.
Each element has the form (STRING . FACE), where STRING
serves as a name (for `cpp-highlight-buffer' only)
and FACE is either a face (a symbol)
or a cons cell (background-color . COLOR)."
:type '(repeat (cons string (choice face (cons (const background-color) string))))
:group 'cpp)
But it doesn't seem to be working.
What should I put in my .emacs file so that I get the cpp-face-dark-list instead of cpp-face-light-list?
Thanks!
© Stack Overflow or respective owner