[急]Emacs 配色问题, 求解决
发表于 : 2012-11-24 20:18
问题0.
有一款不错的配色, 叫 Solarized. 支持 Emacs. 下载 color-theme-solarized.el 后, 我将其移动至 color-theme 所要求的目录.
然后: $emacs
<M-x>color-theme-select<RET>
第一第二个分别是:
Solarized Dark
Solarized Light
光标移动至 Solarized Dark 后, i. 嗯, 不错. d, 如以前设置配色一样, 我将显示的代码复制至了 .emacs.
显示代码是: (color-theme-solarized-dark)
完成后, <C-x C-c> $emacs
出现了如下的提示:
Warning (initialization): An error occurred while loading `/home/linux-is-the-best/.emacs':
Symbol's function definition is void: color-theme-solarized-dark
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
仍是默认配色, 求解.
问题1.
Emacs , 会对函数名, 变量名, 和类型名进行高亮.
而因此, 我经常看见一些高亮的错误, 还会导致人对代码错误的理解.
请问, 如何使 Emacs 只对编程语言的默认关键字进行高亮而不高亮函数名, 变量名和自定义的类型?
本人 Emacs 纯新手, 请大牛们多多指教.
有一款不错的配色, 叫 Solarized. 支持 Emacs. 下载 color-theme-solarized.el 后, 我将其移动至 color-theme 所要求的目录.
然后: $emacs
<M-x>color-theme-select<RET>
第一第二个分别是:
Solarized Dark
Solarized Light
光标移动至 Solarized Dark 后, i. 嗯, 不错. d, 如以前设置配色一样, 我将显示的代码复制至了 .emacs.
显示代码是: (color-theme-solarized-dark)
完成后, <C-x C-c> $emacs
出现了如下的提示:
Warning (initialization): An error occurred while loading `/home/linux-is-the-best/.emacs':
Symbol's function definition is void: color-theme-solarized-dark
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
仍是默认配色, 求解.
问题1.
Emacs , 会对函数名, 变量名, 和类型名进行高亮.
而因此, 我经常看见一些高亮的错误, 还会导致人对代码错误的理解.
请问, 如何使 Emacs 只对编程语言的默认关键字进行高亮而不高亮函数名, 变量名和自定义的类型?
本人 Emacs 纯新手, 请大牛们多多指教.