文件错误:无法打开加载文件,jde。怎么解决这个?

时间:2012-06-11 12:57:08

标签: emacs elisp

-
Warning (initialization): An error occurred while loading `/afs/nada.kth.se/hom\
e/d99/d99-nro/.emacs':

File error: Cannot open load file, jde

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

的.emacs:

;; - -  - -  - -  - -  - -
;;
;;  Emacs JDE
;;

(setq load-path
       (nconc '(
                "/pkg/jde/2.1.4"
                )
                load-path))
(require 'jde)
;;  - -  - -  - -  - -  - -

;;  - -  - -  - -  - -  - -
;;
;;   Make possible to compile from inside emacs
;;   using control-c -m
;;

(global-set-key "\C-cm" 'compile)

(setq load-path (cons "/src/lang/sictus/sicstus3.5" load-path))
(autoload 'run-prolog "prolog"
"Start a Prolog sub-process." t)
(autoload 'prolog-mode "prolog"
"Major mode for editing prolog programs" t)(autoload 'prolog-menu-hook-function
"prolog-menu" t)
(add-hook 'prolog-mode-hook 'prolog-menu-hook-function)

1 个答案:

答案 0 :(得分:3)

如果我没记错的话,JDE的lisp文件位于lisp子目录中。有关详细信息,请参阅installation instructions

P.S。而不是(setq load-path....它更容易使用(add-to-list 'load-path ...) - 它将排除重复&更容易阅读