3

I'm trying to get my emacs color scheme set up like I have it in Textmate. Currently, variables, methods, and comments have a different background color than the main body. See the following link for an example.

Is this possible in emacs?

enter image description here

5
  • 5
    My eyes! The goggles do nothing! Commented Nov 10, 2009 at 20:16
  • 1
    haha. well i like it. Commented Nov 10, 2009 at 20:26
  • I kind of like the "angry fruit salad" look. I started out programming on a green screen WYSE 60, so its not a "kids these days" thing.
    – KeithB
    Commented Nov 10, 2009 at 22:19
  • Will you share the source of your hand-baked color theme?
    – viam0Zah
    Commented Mar 20, 2010 at 15:00
  • i WISH i were creative enough to hand-bake it. it's a (very) modified version of monokai called monokai for textmaters CUSTOM by James Hicks. you can check it out here: pastie.org/205164 Commented Mar 22, 2010 at 16:36

1 Answer 1

6

Sure. The command you are looking for is M-x customize-face. Each different thing (variable, method, etc) has a face associated with it. For instance font-lock-comment-face.

If you put the point on a character, at type M-x list-text-properties-at it will tell you what face is being used to display that character.

If you type M-x list-faces-display, it will show you all of the faces.

2
  • thanks. this helps a lot! "M-x list-properties-at" doesn't work for me, but it's good to know that it can be done. Commented Nov 10, 2009 at 20:27
  • My mistake. That should be M-x list-text-properties-at
    – KeithB
    Commented Nov 10, 2009 at 20:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .