I have been hunting documentation and trying things in my .emacs file for 2 days now…

The type of message that appears at the bottom of the screen, one example is “Save the file <filespec>? (y,n,! …” On my system it is dark blue on black. Also “Modified buffers exist…” dark blue on black - hard to read. What face is that?

Here is what I have tried so far: (custom-set-faces '(mode-line ((t (:foreground “white” :background “blue” :weight bold)))) '(warning ((t (:foreground “yellow” :weight bold)))) '(error ((t (:foreground “yellow” :weight bold)))) '(success ((t (:foreground “yellow” :weight bold)))) '(default ((t (:foreground “white” :background “black”)))) '(minibuffer-prompt ((t (:foreground “yellow” :weight bold)))) '(shadow ((t (:foreground “yellow”)))) '(completions-common-part ((t (:foreground “yellow”)))) '(completions-first-difference ((t (:foreground “yellow” :weight bold)))) '(default ((t (:foreground “white” :background “black”)))) )

describe-face for another prompt with the same coloring says it is the default face. So I tried changing that from the M-x prompt but that turned my screen white on yellow.

  • donio@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 day ago

    I am pretty that’s the minibuffer-prompt face. But that’s on the “already tried” list so not sure why that didn’t work.

    (custom-set-faces '(minibuffer-prompt ((t (:foreground "yellow" :weight bold))))) does the job for me.

    Edit: oh yeah, as others have already mentioned it might also come from default. Other faces inherit from default so for example with the settings above you’d still inherit :background from default since we are not overriding it.