为什么不能在Emacs 24.1下使用旧的主题样式文件? [英] Why Can't I use old theme style file under Emacs 24.1?

查看:95
本文介绍了为什么不能在Emacs 24.1下使用旧的主题样式文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我可以在23.1,23.4下使用我的样式文件,但是在将Emacs更新到24.1后,我不能使用旧样式文件。例如,我的一个样式文件是 color-主题arjen.el 。以下是链接:

I can use my style file under 23.1, 23.4, but after I update Emacs to 24.1, I can't use the old style files. For example, one of my style files is color-theme-arjen.el. Here is the link:


https://github.com/credmp/color-theme-arjen/blob/master/color-theme-arjen.el


在我的elisp文件中,我使用以下代码加载颜色主题:

In my elisp file, I use following code to load the color theme:


我不知道为什么颜色主题在Emacs 23.1& 23.4但只是在Emacs 24.1下无效。

I don't know why the color theme works under Emacs 23.1 & 23.4 but just doesn't work under Emacs 24.1.


当Emacs正在加载文件时,Emacs会提供以下错误:

While Emacs is loading the file, Emacs gives following error:


如果我取消注释上面的代码,并且不加载样式文件,那么该错误将被忽略。

If I uncomment above code and don't load the style file, the error is dismissed.


有没有人知道为什么会发生这种情况?或者我如何调试?

Does anyone know why this happens? Or how can I debug it?

推荐答案

颜色主题的东西在24进行了大量改造,有一个包含emacs的颜色主题包(见

The color theme stuff was heavily revamped in 24, there is a color theme package included with emacs (see M-x customize-themes), and as far as I know breakage of older themes is expected.

颜色主题据报道果酱的包裹也可以使用。

The color theme package from marmalade reportedly works as well.

你应该可以为color-theme-arjen打开错误报告。

You should probably open a bug report for color-theme-arjen.

这篇关于为什么不能在Emacs 24.1下使用旧的主题样式文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆