0

Somehow I got into the situation where my section headings in ReST mode are rendered in one shade of gray for the foreground and another, nearly identical shade of gray for the background. This makes the section headings almost completely unreadable to me.

So, I am a simple user with a rather simple question: How can I customize the colors for ReST mode to fix this?

Here is the output of my version command:

GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.21) of 2013-10-25 on allspice, modified by Debian
2

Put the cursor on one of those section headings, and hit C-u C-x =. Emacs will tell you, near the bottom of buffer *Help*, what face(s) is/are used for the highlighting.

Then use M-x customize-face to specify each face (there might be only one that you need to change), and then tweak the definition as you like. Use the action menu to set your changes for the current session or save them also for future sessions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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