如何解决这个错误? emacs.d / starter-kit.el:`flet'是一个过时的宏(从24.3开始);使用`cl-flet'或`cl-letf' [英] How to fix this error? emacs.d/starter-kit.el: `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'

查看:145
本文介绍了如何解决这个错误? emacs.d / starter-kit.el:`flet'是一个过时的宏(从24.3开始);使用`cl-flet'或`cl-letf'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚使用emacs-snapshot将emacs-starter-kit安装到Debian Wheezy中。我收到错误:

 载入/home/felixdz/.emacs.d/starter-kit-registers.el(来源)...完成
加载/home/felixdz/.emacs.d/starter-kit-registers.el
../.emacs.d/starter-kit.el:`flet'是一个过时宏(截至24.3);使用`cl-flet'或`cl-letf'。
加载/home/felixdz/.emacs.d/starter-kit.el(source)... done
loaded /home/felixdz/.emacs.d/starter-kit.el
有关GNU Emacs和GNU系统的信息,请键入Ch Ca.
软件包assoc已过时!

如何解决此错误?我是Emacs的初学者。

解决方案

这不是一个错误,而是一个警告。
这不是针对你的,而是在
的包维护人员从您的入门工具包加载的一些包。



关键是有一个香草Emacs 24.3,它不给出警告,
,然后为您用于Emacs 24.3的早期版本的Emacs
编写了各种库。因此,警告。

它现在仍然可以工作,但是可能当下一个Emacs出来
时,assoc包将产生一个错误,而不是一个警告,如现在,您可以选择现在,如果您想要 emacs-starter-kit 或香草Emacs
或者是其他东西。我从香草Emacs学到了自己的方式,自己做了自定义


I just installed the emacs-starter-kit into Debian Wheezy with the emacs-snapshot. I am getting and error:

Loading /home/felixdz/.emacs.d/starter-kit-registers.el (source)...done
loaded /home/felixdz/.emacs.d/starter-kit-registers.el
../.emacs.d/starter-kit.el: `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
Loading /home/felixdz/.emacs.d/starter-kit.el (source)...done
loaded /home/felixdz/.emacs.d/starter-kit.el
For information about GNU Emacs and the GNU system, type C-h C-a.
Package assoc is obsolete!

How do I fix this error? I am a completer beginner with Emacs.

解决方案

It's not really an error, but a warning. And it's not aimed at you but at the package maintainers of some package that you load from the starter kit.

The point is that there's a vanilla Emacs 24.3, which doesn't give warnings, and then there are various libraries written for earlier versions of Emacs that you're using for Emacs 24.3. Hence the warnings.

It will still work for now, but probably when the next Emacs comes out the assoc package will produce an error instead of a warning like now.

You can choose now if you want the emacs-starter-kit or vanilla Emacs or something else. I learned my way from vanilla Emacs, doing the customizations myself.

这篇关于如何解决这个错误? emacs.d / starter-kit.el:`flet'是一个过时的宏(从24.3开始);使用`cl-flet'或`cl-letf'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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