This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Where in the scala emacs mode files are colors set?

1 reply
Kenneth McDonald
Joined: 2009-01-11,
User offline. Last seen 42 years 45 weeks ago.

I'm finding reading yellow on white pretty difficult and would like to change that. greps on "yellow" and "color" didn't reveal anything, so I'm just wondering how to alter the colorization scheme.

Thanks,
Ken

Aemon Cannon
Joined: 2010-03-21,
User offline. Last seen 1 year 24 weeks ago.
Re: Where in the scala emacs mode files are colors set?
I don't think scala-mode sets any color explicitly. It assigns font-lock faces to the syntax in the buffer, which are later picked up when font-lock-mode colorizes the buffer.
You can customize the colors that font-lock assigns to each face (comment, type, keyword, etc) by hand, or, as is more usual, with color-theme.el.

http://www.emacswiki.org/emacs/ColorTheme


On Sun, Sep 12, 2010 at 11:26 AM, Kenneth McDonald <kenneth [dot] m [dot] mcdonald [at] sbcglobal [dot] net> wrote:
I'm finding reading yellow on white pretty difficult and would like to change that. greps on "yellow" and "color" didn't reveal anything, so I'm just wondering how to alter the colorization scheme.

Thanks,
Ken


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland