我是OSX和Emacs的完全新手,所以我很难在Aquamacs上安装ECB。
我按照https://docwhat.org/aquamacs-2-3a-and-marmalade/使用Aquamacs 3.0给出的说明,但在安装ecb-snapshot软件包时出现以下错误:
ecb-semantic-wrapper.el:41:1:Error: Cannot open load file:
no such file or directory, semantic-ctxt
jn-file-tree.el:31:1:Error: Cannot open load file: no such file or directory,
jn-tree-node
jn-tree-node.el:32:1:Error: Cannot open load file: no such file or directory,
jn-utils
jn-tree-view.el:31:1:Error: Cannot open load file: no such file or directory,
jn-window
jn-window.el:44:25:Error: Invalid lambda variable
(parent jn-window-container)
test.el:31:1:Error: Cannot open load file: no such file or directory,
jn-tree-view
对此的任何帮助将不胜感激。
答案 0 :(得分:1)
你最好依靠el-get来安装它。
这是我的个人配置,使其有效:
;; =========== EL-Get =============
;; See https://github.com/dimitri/el-get
(add-to-list 'load-path "~/.emacs.d/vendor/el-get")
(unless (require 'el-get nil 'noerror)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.github.com/dimitri/el-get/master/el-get-install.el")
(let (el-get-master-branch)
(goto-char (point-max))
(eval-print-last-sexp))))
(require 'el-get)
(require 'el-get-status)
(setq el-get-byte-compile nil)
;; Load the local recipes
(add-to-list 'el-get-recipe-path "~/.emacs.d/el-get/recipes")
;; (setq el-get-sources '(cedet
;; ))
(setq el-get-sources
'((:name ecb
:type git
:url "https://github.com/alexott/ecb.git"
:load "ecb.el"
:compile ("ecb.el"))
))
(setq my-packages
(append '(el-get)
(mapcar 'el-get-source-name el-get-sources)))
(el-get 'sync my-packages)