在ubuntu的emacs 24中安装ECB

前端之家收集整理的这篇文章主要介绍了在ubuntu的emacs 24中安装ECB前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我理解 from this question CEDET安装在emacs 24中而无需额外安装,所以我不需要按照这些说明 hereCEDET part here.

我没有使用emacs入门套件,like this answer.

所以,当我使用elpa安装ecb时,我收到以下错误

Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-file-tree.el at Mon Dec 30 16:13:57 2013
Entering directory `/home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/'
jn-file-tree.el:31:1:Error: Cannot open load file: jn-tree-node

Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-tree-node.el at Mon Dec 30 16:13:57 2013
jn-tree-node.el:32:1:Error: Cannot open load file: jn-utils

Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-tree-view.el at Mon Dec 30 16:13:57 2013
jn-tree-view.el:31:1:Error: Cannot open load file: jn-window

Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-utils.el at Mon Dec 30 16:13:57 2013

Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-window.el at Mon Dec 30 16:13:57 2013
jn-window.el:44:25:Error: Invalid lambda variable (parent jn-window-container)

Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/test.el at Mon Dec 30 16:13:57 2013
test.el:31:1:Error: Cannot open load file: jn-tree-view

另一个答案指向this repository,它有jn-utils.我可以将这些文件放入我的emacs.d / elpa / ecb-20131116.1319 / ecb2 /目录中以替换现有的jn-utils吗?

一般来说:

>为什么这会失败?
>如何在emacs 24中尽可能简单地修复它并安装ECB?

我刚刚在一分钟内安装了ecb.

>来自bash:

cd ~/git && git clone https://github.com/alexott/ecb

>在〜/ .emacs中:

(add-to-list 'load-path "~/git/ecb")
(require 'ecb)

完成. ecb-activate启动代码浏览器.

猜你在找的Ubuntu相关文章