According to Emacs Eclim, I added the following to ~/.emacs.d/init.d for emacs-eclim:
(require 'eclim)
(global-eclim-mode)
; If you want to control eclimd from emacs, also add:
(require 'eclimd)
The output of emacs -nw --debug-init is:
Debugger entered--Lisp error: (file-error "Cannot open load file" "eclim")
require(eclim)
eval-buffer(#<buffer *load*> nil "/home/tim/.emacs.d/init.el" nil t) ; Reading at buffer position 4117
load-with-code-conversion("/home/tim/.emacs.d/init.el" "/home/tim/.emacs.d/init.el" t t)
load("/home/tim/.emacs.d/init" t t)
#[0 "^H\205\262^@ \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\313\307\314\317#\$
command-line()
normal-top-level()
解决办法
(add-to-list 'load-path "~/.emacs.d/elpa/emacs-eclim-20140809.207/")
离线
为什么不用 elpa 安装,省事很多的,类似的路径问题都会自动解决
最近编辑记录 血族使天 (2016-07-04 14:23:07)
离线
elpa 安装也会出这个问题,请参考(add-to-list 'load-path "~/.emacs.d/elpa/chinese-fonts-setup-20160601.2306/")
离线