Skip to content

Commit

Permalink
Include emacs-eclim configuration.
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 49a5b3186fcdbd9c78b35fa5b86a80935db7c958
  • Loading branch information
jaccarmac committed Jan 6, 2015
1 parent 7f747e3 commit 4e79f75
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dot-emacs-dot-d.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -280,4 +297,6 @@ Now, for some code.
<<ac-slime>>

<<web-mode>>

<<emacs-eclim>>
#+END_SRC
5 changes: 5 additions & 0 deletions tangled/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 4e79f75

Please sign in to comment.