在Emacs ido模式下更改颜色

Via*_*huk 3 emacs

我已经安装了Emacs-starter-kit(https://github.com/technomancy/emacs-starter-kit/),并且我已经自定义了配色方案.但是在迷你缓冲器中(在ido模式下,默认情况下是Emacs-starter-kit),红色看起来不同. 截图http://xmages.net/storage/10/1/0/5/5/upload/7133d11f.jpg 如何在ido迷你缓冲区中自定义颜色并使其外观与常规缓冲区相同?谢谢.

Rya*_*kel 7

以下是ido的面孔以及我如何在.emacs中设置它们:

(custom-set-faces
 '(ido-subdir ((t (:foreground "#66ff00")))) ;; Face used by ido for highlighting subdirs in the alternatives.
 '(ido-first-match ((t (:foreground "#ccff66")))) ;; Face used by ido for highlighting first match.
 '(ido-only-match ((t (:foreground "#ffcc33")))) ;; Face used by ido for highlighting only match.
 '(ido-indicator ((t (:foreground "#ffffff")))) ;; Face used by ido for highlighting its indicators (don't actually use this)
 '(ido-incomplete-regexp ((t (:foreground "#ffffff")))) ;; Ido face for indicating incomplete regexps. (don't use this either)
Run Code Online (Sandbox Code Playgroud)

我通过M-xset-face-foreground 找到它们RET,然后输入"ido-"并使用完成来获取可用的面部名称.

使用M-xcustomize-face然后使用上面的完成来使用简单的界面自定义面可能更简单.