Okay well, I figured out a workaround with my current problem with
cedet-version issues and Xemacs. Now I make sure I just load cedet.el
last via just the load-file function. Everything works as designed,
and I don't have to switch to emacs.

....

 (add-to-list 'load-path (expand-file-name
"~/.emacs.d/site-lisp/ecb-2.24"))

 (add-to-list 'load-path (expand-file-name
"~/.emacs.d/site-lisp/jde-beta/lisp"))

 (require 'jde)
 (require 'ecb)
 (require 'ecb-autoloads)

 (load-file "~/.emacs.d/site-lisp/cedet/common/cedet.el") 

...
thanks!
-g


On Thu, 2004-06-03 at 17:42, George Flaherty wrote:
> Tried your suggestion, now I get the following instead.
> Symbol's function defintion is void: find-image. 
> I will keep poking around and see what I can find.
> 
> thanks
> -g
> 
> 
> On Thu, 2004-06-03 at 15:49, Paul Kinnucan wrote:
> > George Flaherty writes:
> >  > Hello,
> >  > 
> >  > I just starting using the jdee beta4 version along with cedet 1.0beta2,
> >  > yet when I attempt to open a java file, jde-mode does not "initialize".
> >  > When I attempt to force the jde-mode, I get the following message:
> >  > 
> >  > "Symbol's value as variable is void: cedet-version"
> >  > 
> >  > In my .emacs I have the following:
> >  > 
> >  >  ;;Load'em Up
> >  >  (add-to-list 'load-path (expand-file-name
> >  > "~/.emacs.d/site-lisp/cedet/common/cedet.el"))
> >  >  (add-to-list 'load-path (expand-file-name
> >  > "~/.emacs.d/site-lisp/ecb-2.24"))
> >  >  (add-to-list 'load-path (expand-file-name
> >  > "~/.emacs.d/site-lisp/jde-beta/lisp"))
> >  >  (add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp/elib"))
> >  >  (add-to-list 'load-path
> >  > (expand-file-name"~/.emacs.d/site-lisp/hidelines.el"))
> >  >  (require 'ecb)
> >  >  (require 'ecb-autoloads)
> >  >  (require 'jde)
> > 
> > Try:
> > 
> > (add-to-list 'load-path  (expand-file-name "~/.emacs.d/site-lisp/elib"))
> > (load-file (expand-file-name "~/.emacs.d/site-lisp/cedet/common/cedet.el"))
> > (add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp/jde-beta/lisp"))
> > 
> > ;; Make jde-mode the default mode for Java source code buffers.
> > ;; Prepend the jde-mode entry so that it shadows the java-mode
> > ;; entry already in the list.
> > ; (setq auto-mode-alist
> > ;   (append
> > ;    '(("\\.java\\'" . jde-mode))
> > ;   auto-mode-alist))
> > ; (autoload 'jde-mode "jde" "JDE" t)
> > 
> > ;; If you want Emacs to defer loading the JDE until you open a 
> > ;; Java file, edit the following line
> > (setq defer-loading-jde t)
> > ;; to read:
> > ;;
> > ;;  (setq defer-loading-jde t)
> > ;;
> > 
> > 
> > (if defer-loading-jde
> >     (progn
> >       (autoload 'jde-mode "jde" "JDE mode." t)
> >       (setq auto-mode-alist
> >         (append
> >          '(("\\.java\\'" . jde-mode))
> >          auto-mode-alist)))
> >   (require 'jde))
> > 
> > (defun my-jde-mode-hook ()
> >   (setq 
> >    c-basic-offset 2
> >    tab-width 4
> >    tab-stop-list
> >    '(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80)))
> > 
> > (add-hook 'jde-mode-hook 'my-jde-mode-hook)
> > 
> > 
> > Paul
> > 
> > 
> >  > 
> >  > thanks
> >  > -george
> >  > 
> >  > 
> >  > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
> >  > <HTML>
> >  > <HEAD>
> >  >   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
> >  >   <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
> >  > </HEAD>
> >  > <BODY>
> >  > Hello,<BR>
> >  > <BR>
> >  > I just starting using the jdee beta4 version along with cedet 1.0beta2, yet 
> > when I attempt to open a java file, jde-mode does not &quot;initialize&quot;.<BR>
> >  > When I attempt to force the jde-mode, I get the following message:<BR>
> >  > <BR>
> >  > &quot;Symbol's value as variable is void: cedet-version&quot;<BR>
> >  > <BR>
> >  > In my .emacs I have the following:<BR>
> >  > <BR>
> >  >  ;;Load'em Up<BR>
> >  >  (add-to-list 'load-path (expand-file-name 
> > &quot;~/.emacs.d/site-lisp/cedet/common/cedet.el&quot;))<BR>
> >  >  (add-to-list 'load-path (expand-file-name 
> > &quot;~/.emacs.d/site-lisp/ecb-2.24&quot;))<BR>
> >  >  (add-to-list 'load-path (expand-file-name 
> > &quot;~/.emacs.d/site-lisp/jde-beta/lisp&quot;))<BR>
> >  >  (add-to-list 'load-path (expand-file-name 
> > &quot;~/.emacs.d/site-lisp/elib&quot;))<BR>
> >  >  (add-to-list 'load-path 
> > (expand-file-name&quot;~/.emacs.d/site-lisp/hidelines.el&quot;))<BR>
> >  >  (require 'ecb)<BR>
> >  >  (require 'ecb-autoloads)<BR>
> >  >  (require 'jde)<BR>
> >  > <BR>
> >  > thanks<BR>
> >  > -george<BR>
> >  > <BR>
> >  > <BR>
> >  > </BODY>
> >  > </HTML>
> > 

Reply via email to