jdee-emacs / jdee

The JDEE is an add-on software package that turns Emacs into a comprehensive system for creating, editing, debugging, and documenting Java applications.
GNU General Public License v2.0
424 stars 55 forks source link

Speeding up emacs/jdee startup? #47

Open liar666 opened 8 years ago

liar666 commented 8 years ago

Hey, me again...

I'm currently using a machine that is quite old, thus slow. It seems that having the two following lines in my .emacs makes Emacs load JDEE at each startup: ; For Java (add-to-list 'load-path "/usr/home/gmuller/.emacs.d/elpa/jdee-20151217.1405/") (require 'jdee)

Since I use Emacs for everything (opening config files, coding in different languages, etc.), it happens most of the time that Emacs takes a very long time to load all the JDEE's elements, that, in the end, occurs to have been useless.

Is there a way to do so the JDEE loads only on the opening of a Java file or the lighten the JDEE's loading process?

I've tried configuring emacs-client speedup Emacs loading process by loading everything just once, but it changes so much the way to use Emacs that it requires to much time to get used to; and I don't have that time right now :{

phillord commented 8 years ago

You can autoload JDEE instead.

Although, to be honest, if you are loading JDEE from ELPA, then this should be happening already. i.e. once you have installed it, you should not have to do anything at all in your .emacs. It should just work. Is it not?

daveloyall commented 8 years ago

@liar666 FYI https://www.emacswiki.org/emacs/EmacsClient