Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. (I can't post the picture directly here because I don't have enough reputation, apparently). 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.