Hi Przemek,
After implementing your suggestion, my .emacs now looks like this...
;;; Load paths
(defun add-to-load-path (path)
"If it exists, add PATH to the LOAD-PATH."
(if (file-exists-p path)
(add-to-list 'load-path path)))
(mapc #'add-to-load-path
'("~/.emacs.d"
"~/.elisp/speedbar"
"~/.elisp/eieio"
"~/.elisp/semantic"
"~/.elisp/elib"))
; "~/.elisp/cedet/common"
; "~/.elisp/jde/lisp"))
(require 'ps-ccrypt "ps-ccrypt")
;(require 'jka-compr-ccrypt "jka-compr-ccrypt")
;;; Prevent line wrapping and display a dollar sign at the end of the
visual part of a line, when a line has been truncated:
(set-default 'truncate-lines t)
;;; Enable syntax highlighting
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
(setq-default c-basic-offset 8
tab-width 8
indent-tabs-mode t)
(setq java-mode-hook '(lambda () (c-toggle-auto-hungry-state 1)))
(transient-mark-mode t)
;;; Add bindings to make it easier to use speedbar:
(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
;;; Enable "semantic":
;(setq semantic-load-turn-everything-on t)
;(require 'semantic-load)
;(load-file (expand-file-name "~/.elisp/cedet/common/cedet.el"))
;(require 'jde)
(load-file "~/.elisp/cedet/common/cedet.el")
(global-ede-mode 1)
(semantic-load-enable-code-helpers)
(add-to-list 'load-path "~/.elisp/jde/lisp")
(require 'jde)
---------------------------------------------------------------------------------------------------
...and I now get the following error:
Debugger entered--Lisp error: (void-function global-ede-mode)
(global-ede-mode 1)
eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/cellar/users/ruschein/.emacs" "~/.emacs" t t)
load("~/.emacs" t t)
#[nil "^H\205\227^@ �=\203...@�^h�q\2025^@
�=\203'^...@����#\203#^@�\20...@�\2025^@
�=\20...@�\2025^@�^h�q^z�^s�\n�\211#\210^k�=\20...@�^s^k\203$
command-line()
normal-top-level()
--------------------------------------------------------------------------------------------------------------
2009/11/16 Przemysław Wojnowski <[email protected]>:
> Hi.
>
> I don't know what causes this problem, but i would try to load CEDET in
> order specified in INSTALL file. At least i have this configuration and
> CEDET and JDE loads smoothly:
> (load-file "~/cedet/common/cedet.el")
> (global-ede-mode 1)
> (semantic-load-enable-code-helpers)
> (add-to-list 'load-path "~/.jde-dir")
> (require 'jde)
>
> I use Emacs 23.1.50.1, JDE-2.4.0 from SVN branch, CEDET-1.0pre6.
>
> Regards,
> Przemek
>
--
Johannes
Obligatory current favourite quotes:
"I have more confidence in the methods of science, based on the amazing
record of science and its ability over the centuries to answer
unanswerable questions, than I do in the methods of faith (what are they?)."
-- David J. Gross "Physics Nobel Laureate"
"Atheism is a religion to the same extent that not collecting stamps is a
hobby."
-- seen on Slashdot.org
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users