[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emacs + jde problems



On Friday 11 March 2005 10:20, Felix Dorner <felix_do@web.de>
(<[🔎] 4231D34A.4030105@web.de>) wrote:

> i am quite new to jde and in no way an emacs pro. I installed the debian
> testing packages of jde. when i now open a .java file everything looks
> good, jde is loaded. opening a second .java file loads the file, however
> gives me the message
> "xxx.java was not setup for parsing."

I had the same problem.  It's not much work to download JDE and "install" it
without any ill effect on your Debian configuration.  That's what I did.

> btw, do i need an .emacs file for the jde package to work, or is this
> set up to consume?

You don't need to do anything to use the JDE package from Debian.  I
installed -- that is, untarred and byte-compiled -- mine in my ~/emacs
directory and added these to my .emacs file:

  (add-to-list 'load-path (expand-file-name "~/emacs/jde/lisp"))
  (add-to-list 'load-path (expand-file-name "~/emacs/cedet/common"))
  (load-file (expand-file-name "~/emacs/cedet/common/cedet.elc"))
  (add-to-list 'load-path (expand-file-name "~/emacs/elib"))

  (require 'jde)

The last line may not be required.  Also, the "expand-file-name" function
call isn't quite proper, but it works.



Reply to: