问题描述
我在我的emacs24上安装了。我使用ubuntu 12.04
I installed Prelude on my emacs24. I'm using ubuntu 12.04
它第一次使用它,但所有的下一次它没有工作完美。
在我当前的行上,字体颜色是灰色的,所以很难看到我写的。以前,它是一个大胆的情况,保持任何颜色的行保留字。
It worked perfectly the first time I used it, but all the next times it doesn't.On my current line the font color is gray so it's hard to see what I write. Previously it was a Bold case, keeping any color the line had for reserved words.
如何解决这个问题?
或者空格的空行都是黄色的
or also the empty lines with spaces are all yellow
我一直在尝试修复它:
〜/。 emacs.d / elpa / zenburn-theme-20130716.1457 / zenburn-theme.el
文件,但我找不到解决方案...我认为问题可能在这两行之间:
I've been trying to fix it on the:~/.emacs.d/elpa/zenburn-theme-20130716.1457/zenburn-theme.el
file but I can't find a solution... I think the problem could be between this lines:
`(hl-line-face((,class(:background,zenburn-bg-05))
bold)))
`(hl-line((,class(:background,zenburn-bg-05)); old emacsen
(t:weight bold)))
`(hl-line-face ((,class (:background ,zenburn-bg-05)) (t :weight bold)))
`(hl-line ((,class (:background ,zenburn-bg-05)) ; old emacsen (t :weight bold)))
谢谢!
推荐答案
重要提示:
添加到 .bashrc
文件:
我找到了完美的配置。这里:
and I found the perfect configuration for me. Here it goes:
;;;;; hl-line-mode
(custom-set-faces
'(highlight ((t (:background "grey20" :foreground nil :bold t)))) ;; highligh\
t current line
)
粗体和当前行的灰色背景。一切都会美丽=)
This way you keep every color for reserved words all bold and a gray background for the current line. Everything will be beautiful =)
>
这篇关于Emacs颜色。为什么在当前行上是灰色的? zenburn主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!