在Ubuntu中的Emacs 24中安装ECB [英] Installing ECB in emacs 24 in ubuntu
问题描述
根据这个问题,我了解是在emacs 24中安装的,而没有其他安装,因此我不需要遵循这些说明此处,或在此处 CEDET部分.
I understand from this question that CEDET is installed in emacs 24 without additional installation, so I don't need to follow those instructions here, or the CEDET part here.
我没有使用emacs入门套件,答案.
I am not using the emacs starter kit, like this answer.
因此,当我使用elpa安装ecb时,出现以下错误:
So, when I use elpa to install ecb, I get the following error:
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
另一个答案将我指向此存储库,该库具有jn-utils.我可以将这些文件放到emacs.d/elpa/ecb-20131116.1319/ecb2/目录中以替换现有的jn-utils吗?
Another answer pointed me to this repository, which has jn-utils. Can I just drop these files into my emacs.d/elpa/ecb-20131116.1319/ecb2/ directory to replace the existing jn-utils?
通常:
- 这为什么会失败?
- 如何在emacs 24中尽可能简单地修复它并安装ECB?
推荐答案
我不到一分钟就安装了 ecb
.
I just installed ecb
in under a minute.
-
来自bash:
From bash:
cd ~/git && git clone https://github.com/alexott/ecb
在〜/.emacs
中:
(add-to-list 'load-path "~/git/ecb")
(require 'ecb)
完成. ecb-activate
会打开代码浏览器.
Done. ecb-activate
brings up the code browser.
这篇关于在Ubuntu中的Emacs 24中安装ECB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!