Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 just switched to emacs from Vim today so I have no idea what I am doing. How do I change the syntax coloring in Emacs? Everything is green or light green.

As you can see, latex tex is dark green and regular text is green.

enter image description here

share|improve this question
up vote 1 down vote accepted

The easiest way to customize your colors is using the color-theme package. The emacs wiki includes instructions on installing and configuring. In Debian, color-theme is part of the emacs-goodies-el package. Once installed, you can use M-x color-theme-select to browse the available themes.

share|improve this answer
I have seen that page but don't understand it. It tells me to put color-theme.el in the folder "themes" and other instructions. First, I have no idea where the folder themes is. If I have been using emacs for more than 2 hours that site may be helpful, but at the present, it offers nothing. – dustin Apr 9 '13 at 0:59

M-x load-library RET
M-x color-theme RET
M-x color-theme

The above should give you a list to choose from, so you could customize it. Emacs 24+ command

M-x load-theme
gives you a few more.

share|improve this answer
How can I make the change permanent? – dustin Apr 9 '13 at 17:37
from the options menu, Customize Emacs and then Custom Themes – user36809 Apr 11 '13 at 3:11

Your Answer


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.