有人知道如何在emacs中更改modeline上文件名的颜色吗?

有人知道如何在emacs中更改modeline上文件名的颜色吗?,emacs,elisp,dot-emacs,Emacs,Elisp,Dot Emacs,有人知道如何更改modeline上文件名的颜色吗 以下是我使用的主题: (defun color-theme-twilight () "Color theme by Marcus Crafter, based off the TextMate Twilight theme, created 2008-04-18" (interactive) (color-theme-install '(color-theme-twilight ((background-colo

有人知道如何更改modeline上文件名的颜色吗

以下是我使用的主题:

(defun color-theme-twilight ()
  "Color theme by Marcus Crafter, based off the TextMate Twilight theme, created 2008-04-18"
  (interactive)
  (color-theme-install
    '(color-theme-twilight
      ((background-color . "#141414")
        (background-mode . dark)
        (border-color . "black")
        (cursor-color . "#A7A7A7")
        (foreground-color . "#F8F8F8")
        (mouse-color . "sienna1"))
      (default ((t (:background "#141414" :foreground "#CACACA"))))
      (blue ((t (:foreground "blue"))))
      (border-glyph ((t (nil))))
      (buffers-tab ((t (:background "#141414" :foreground "#CACACA"))))
      (font-lock-builtin-face ((t (:foreground "#CACACA"))))
      (font-lock-comment-face ((t (:foreground "#5F5A60"))))
      (font-lock-constant-face ((t (:foreground "#CF6A4C"))))
      (font-lock-doc-string-face ((t (:foreground "DarkOrange"))))
      (font-lock-function-name-face ((t (:foreground "#9B703F"))))
      (font-lock-keyword-face ((t (:foreground "#CDA869"))))
      (font-lock-preprocessor-face ((t (:foreground "Aquamarine"))))
      (font-lock-reference-face ((t (:foreground "SlateBlue"))))

      (font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062"))))
      (font-lock-regexp-grouping-construct ((t (:foreground "red"))))

      (minibuffer-prompt ((t (:foreground "#5F5A60"))))
      (ido-subdir ((t (:foreground "#CF6A4C"))))
      (ido-first-match ((t (:foreground "#8F9D6A"))))
      (ido-only-match ((t (:foreground "#8F9D6A"))))
      (mumamo-background-chunk-submode ((t (:background "#222222")))) 

      (font-lock-string-face ((t (:foreground "#8F9D6A"))))
      (font-lock-type-face ((t (:foreground "#9B703F"))))
      (font-lock-variable-name-face ((t (:foreground "#7587A6"))))
      (font-lock-warning-face ((t (:background "#EE799F" :foreground "red"))))
      (gui-element ((t (:background "#D4D0C8" :foreground "black"))))
      (region ((t (:background "#27292A"))))
      (mode-line ((t (:background "#3B3B3B" :foreground "white"))))
(mode-line-inactive ((t (:background "#242424" :foreground "#cccddd"))))
        (mode-line-buffer-id ((t (:foreground "#cccddd" :bold t :weight bold))))
(mode-line-emphasis ((t (:foreground "#cccddd" :bold t :weight bold))))
(highlight ((t (:background "#111111"))))
      (highline-face ((t (:background "SeaGreen"))))
      (left-margin ((t (nil))))
      (text-cursor ((t (:background "yellow" :foreground "black"))))
      (toolbar ((t (nil))))
      (underline ((nil (:underline nil))))
      (zmacs-region ((t (:background "snow" :foreground "blue")))))))

这是主题中的
模式行缓冲id
行。

只是
M-x自定义面部模式行缓冲id RET

这确实是正确的答案。我花了很长时间才发现我的问题是我的主题目录中有一个坏的主题,导致它无法工作。因此,对于那些在设置主题颜色方面有困难的人,请尝试清除旧主题的主题目录。