M-x color-theme-select 报错

Vim、Emacs配置和使用
回复
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

M-x color-theme-select 报错

#1

帖子 cuiaoxiang » 2010-02-17 11:10

color-theme.el 放在了 ./.emacs.d/site-lisp/ 下
.emacs 里
(require 'color-theme)
(color-theme-xxx)
以前输入 M-x color-theme-select 可以选择颜色方案的。
现在出错了
Wrong type argument: symbolp, (link-visited info-xref)
Emacs 菜单对应 Color Theme 的也一样错。
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
头像
qkbeyond
帖子: 1486
注册时间: 2010-01-03 12:38
来自: 你他妈找死啊
联系:

Re: M-x color-theme-select 报错

#2

帖子 qkbeyond » 2010-02-17 11:15

为啥呢 :? 字节编译了么 :?
我的 eval-buffer的时候会出现一个 paleyellow找不到啥的 不过 还能用
  • 我希望我的心上人也能理解这一点,这一切的开始并不是为了什么价值、责任、过去或是未来,这一切甚至不是为了现在,这一切只是源于passion。
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

Re: M-x color-theme-select 报错

#3

帖子 cuiaoxiang » 2010-02-17 11:26

重新搞了一下,搞定了。
以前就下载了一个 color-theme.el.gz 的压缩包解压缩到 site-lisp 目录下
刚才在这里http://ftp.cc.uoc.gr/mirrors/nongnu.org/color-theme/下载了一个包,包括 color-theme.el 还有 themes 目录等等
把 color-theme.el 和 themes 目录都复制到 site-lisp 下。
(require 'color-theme)
(color-theme-initialize)
(color-theme-xxx)
这次可以了
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
头像
IAB
帖子: 99
注册时间: 2009-06-03 20:17

Re: M-x color-theme-select 报错

#4

帖子 IAB » 2010-02-17 11:38

我没有编译,解压包后把整个目录放进去,配置:
(add-to-list 'load-path "~/plugins/color-theme")
(require 'color-theme)
(eval-after-load "color-theme"
 '(progn
  (color-theme-initialize)
 (color-theme-gnome)))
头像
qkbeyond
帖子: 1486
注册时间: 2010-01-03 12:38
来自: 你他妈找死啊
联系:

Re: M-x color-theme-select 报错

#5

帖子 qkbeyond » 2010-02-17 11:42

额的没 initialize也能用咋 :em06
  • 我希望我的心上人也能理解这一点,这一切的开始并不是为了什么价值、责任、过去或是未来,这一切甚至不是为了现在,这一切只是源于passion。
回复