I am using the zenburn theme and my mini-buffer prompt is unreadable (image attached). Please help me. I am just learning emacs.
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.
-
2This is the answer. BTW:
M-x customize-face RET
(or similar) followed by repeating left arrow puts cursor within the prompt. ThenC-u C-x =
shows info about the current position, including its face. – Drew Mar 11 '17 at 15:17
minibuffer-prompt
.M-x customize-face
for it. – Drew Mar 11 '17 at 15:14