Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
5  
My eyes! The goggles do nothing! – dmckee Nov 10 '09 at 20:16
1  
haha. well i like it. – michaelmichael Nov 10 '09 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 Nov 10 '09 at 22:19
    
Will you share the source of your hand-baked color theme? – Török Gábor Mar 20 '10 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 – michaelmichael Mar 22 '10 at 16:36
up vote 6 down vote accepted

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.

share|improve this answer
    
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. – michaelmichael Nov 10 '09 at 20:27
    
My mistake. That should be M-x list-text-properties-at – KeithB Nov 10 '09 at 20:36

You must log in to answer this question.

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