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

Re: JDE install problem on Linux



On Fri, Dec 15, 2000 at 09:46:07AM -0700, Glenn Murray wrote:
> 1. Via the Debian package.  I can't find any documentation 
>    on what to add to my .emacs,  the usual things (load 
>    path and require) don't seem to work.

JDE was orphaned a while ago, so I'm not sure if everything has been
kept up to date with the latest x/emacs.

> 2. "By hand", as worked with Win2K. Everything seems to
>     compile OK.

I ended up doing this the last time I was using JDE because I needed a
very recent feature. I installed everything as directed in the
instructions, and added the following snippet to my .emacs file:

(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/jde-2.2.4/lisp")
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/semantic-1.2.1")
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/speedbar-0.12")

I then byte recompiled everything by using the command in xemacs:
(ctrl u) 0 (meta x) byte-recompile-directory /usr/local/share/emacs/site-lisp/jde-2.2.4/lisp

Finally, I set up the last bits of my .emacs file after the load-path stuff:

(require 'jde)
(defun my-jde-mode-hook ()
  (define-key c-mode-base-map "\C-m" 'newline-and-indent)
  (message "jde-hook function executed"))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)


However, I've also noticed that the latest xemacs deb has a fairly
recent jde (2.2.5 I think) bundled with it, so if that meets your
requirements, I suggest using that.





Reply to: