2009-12-05 33 views
0

我最近决定尝试用于java开发的emacs,所以这是我第一次使用emacs。我在emacs启动时没有收到任何错误,但我不认为jde安装正确,因为在查看java文件时没有看到“jde”菜单项。关于如何进一步排除故障的任何建议?在雪豹碳Emacs中安装jdee问题

我下载并提取CEDET,JDE和ELIB成以下目录结构:

~/.emacs.d/site/cedet/latest 
~/.emacs.d/site/jde/latest 
~/.emacs.d/stie/elib/latest 

在每种情况下 '最新的' 是符号链接到一个版本目录,例如:

cd ~/.emacs.d/site/cedet 
ls -al 
[email protected] 17 dparoulek staff 578 Dec 4 12:17 cedet-1.0pre6 
lrwxr-xr-x 1 dparoulek staff 14 Dec 4 21:41 latest -> cedet-1.0pre6/ 

这是我的.emacs文件:

; JDE - Java Development Environment 

;; Set the debug option to enable a backtrace when a 
;; problem occurs. 
(setq debug-on-error t) 

;; Update the Emacs load-path to include the path to 
;; the JDE and its require packages. This code assumes 
;; that you have installed the packages in the emacs/site 
;; subdirectory of your home directory. 
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/jde/latest/lisp")) 
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/cedet/latest/common")) 
(load-file (expand-file-name "~/.emacs.d/site/cedet/latest/common/cedet.el")) 
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/elib/latest")) 

(require 'jde) 

回答

0

我想通了,emacs的写入启动日志消息到消息缓冲区。一旦我发现,我意识到当它试图加载我的.emacs文件中定义的某些东西时会出现一些问题。

我能够使cedet和ecb成功工作,但在尝试加载jde时仍然出现lisp错误。