3

I am using the zenburn theme and my mini-buffer prompt is unreadable (image attached). Please help me. I am just learning emacs.Image

  • Sounds like the theme messes with face minibuffer-prompt. M-x customize-face for it. – Drew Mar 11 '17 at 15:14
2

It's not obvious how to find out what face it is. The usual way is to put your cursor on some text and then use C-u C-x = but that's harder to do in the minibuffer. The other way I know of is to use M-x list-faces-display to see all the defined faces, and then you can look for something that has the same colors as the text you want to change.

In this case the face you're looking for is minibuffer-prompt. Try M-x customize-face minibuffer-prompt; you can set a foreground and background color there.

  • 1
    This is the answer. BTW: M-x customize-face RET (or similar) followed by repeating left arrow puts cursor within the prompt. Then C-u C-x = shows info about the current position, including its face. – Drew Mar 11 '17 at 15:17

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.