From 4e79f7514c32589b98c46203664c921d38529d7c Mon Sep 17 00:00:00 2001 From: "jaccarmac@gmail.com" Date: Tue, 6 Jan 2015 16:39:51 +0000 Subject: [PATCH] Include emacs-eclim configuration. FossilOrigin-Name: 49a5b3186fcdbd9c78b35fa5b86a80935db7c958 --- dot-emacs-dot-d.org | 19 +++++++++++++++++++ tangled/init.el | 5 +++++ 2 files changed, 24 insertions(+) diff --git a/dot-emacs-dot-d.org b/dot-emacs-dot-d.org index b216c11..3166b55 100644 --- a/dot-emacs-dot-d.org +++ b/dot-emacs-dot-d.org @@ -237,6 +237,23 @@ Now, for some code. (quse-package web-mode) #+END_SRC +* Steal Java-editing features from Eclipse. + + Trying to edit Java with just Emacs is a nightmare. I tried it for a while, + but eventually caved into practicality and installed Eclipse, eclim, and + =emacs-eclim=. The trio of software packages work together to use Eclipse's + editing features and completion in Emacs. The configuration here comes + straight from the =emacs-eclim= website, converted to a slightly strange form + because of the project's package structure. + + #+NAME: emacs-eclim + #+BEGIN_SRC emacs-lisp + (quelpa 'emacs-eclim) + (use-package eclim :init (global-eclim-mode)) + (use-package eclimd) + (use-package ac-emacs-eclim-source :init (ac-emacs-eclim-config)) + #+END_SRC + * Tangle source code. All files get tangled to =tangled=, which is a subdirectory of the directory @@ -280,4 +297,6 @@ Now, for some code. <> <> + + <> #+END_SRC diff --git a/tangled/init.el b/tangled/init.el index 2d65b31..2dfcc3d 100644 --- a/tangled/init.el +++ b/tangled/init.el @@ -65,3 +65,8 @@ '(add-to-list 'ac-modes 'slime-repl-mode)))) (quse-package web-mode) + +(quelpa 'emacs-eclim) +(use-package eclim :init (global-eclim-mode)) +(use-package eclimd) +(use-package ac-emacs-eclim-source :init (ac-emacs-eclim-config))