質問

私は最近、Java開発のためのemacsを試してみることにしたので、これは、私はemacsのを使用したのは初めてです。私はEmacsの起動時に任意のエラーを取得していないんだけど、私は、javaファイルを表示したとき、私は「JDE」メニュー項目が表示されていないので、JDEが正しくインストールされているとは思いません。私は、さらにトラブルシューティングを行うことができる方法上の任意の提案?

私はダウンロードして、以下のディレクトリ構造に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
drwxr-xr-x@ 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)
役に立ちましたか?

解決

私は、Emacsは、のメッセージのバッファに起動ログメッセージが書き込まれていることを考え出しました。私はそれを見つけたら、私はそれが私の.emacsファイルに定義されているいくつかのことをロードしようとしたときに、いくつかの問題があることに気づきます。

私はJDEをロードしようとしたときcedetとECBが正常に働くが、それでもlispのエラーが発生して得ることができた。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top