我试用了 solarized 主题(可从此处获得)并且非常喜欢它。但是,它以某种方式覆盖了我的空白设置,无论我如何配置空白面,它都会被覆盖。关于如何控制我的空白颜色的任何想法,同时保持整洁的颜色-主题-日光化-深色?
来自 .emacs:
;;; Install colortheme
(add-to-list 'load-path "/home/blabla/.emacs.d/color-theme-6.6.0/")
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)
(color-theme-hober)))
;;; Install solarized
(add-to-list 'load-path "/home/blabla/.emacs.d/emacs-color-theme-solarized")
(require 'color-theme-solarized)
(color-theme-solarized-dark)
这是我之前的设置:
(custom-set-faces
'(whitespace-space ((((class color) (background light)) (:background "white" :foreground "darkgrey"))))
'(whitespace-tab ((((class color) (background light)) (:background "white" :foreground "darkgrey")))))
我发现唯一有任何影响的是:
(whitespace-space ((t (:background "red"))))
当然,这只会为每个空白区域呈现丑陋的背景。
使用 GNU Emacs 23.3.1。