我从 emacs 收到以下错误:
Warning (initialization): An error occurred while loading `/afs/nada.kth.se/hom\
e/d99/home/.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 文件(我在寻找错误的目录),它是
;; - - - - - - - - - -
;;
;; 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)
我如何解决它?