~hristoast/dot-emacs

6ab64ddecc88419db5ce12609d8c1042c602839e — Hristos N. Triantafillou 1 year, 11 months ago 20a20c8
Move extra files into the lib dir, expand java support
37 files changed, 11 insertions(+), 3 deletions(-)

M init.el
R ansible.el => lib/ansible.el
R bindings.el => lib/bindings.el
R c-cpp.el => lib/c-cpp.el
R clojure.el => lib/clojure.el
R css.el => lib/css.el
R docker.el => lib/docker.el
R editing.el => lib/editing.el
R emacs-package-library.el => lib/emacs-package-library.el
R fish.el => lib/fish.el
R functions.el => lib/functions.el
R git.el => lib/git.el
R godot.el => lib/godot.el
R golang.el => lib/golang.el
R groovy.el => lib/groovy.el
R html.el => lib/html.el
R internals.el => lib/internals.el
R java.el => lib/java.el
R javascript.el => lib/javascript.el
R jinja2.el => lib/jinja2.el
R json.el => lib/json.el
R keybindings.el => lib/keybindings.el
R lua.el => lib/lua.el
R markdown.el => lib/markdown.el
R nginx.el => lib/nginx.el
R orgmode.el => lib/orgmode.el
R python.el => lib/python.el
R racket.el => lib/racket.el
R ruby.el => lib/ruby.el
R rust.el => lib/rust.el
R shaders.el => lib/shaders.el
R slime.el => lib/slime.el
R systemd.el => lib/systemd.el
R terraform.el => lib/terraform.el
R toml.el => lib/toml.el
R ui.el => lib/ui.el
R yaml.el => lib/yaml.el
M init.el => init.el +2 -2
@@ 99,12 99,12 @@
          "EMACS_NO_TOML" "toml"
          "EMACS_NO_YAML" "yaml")))

;; Load and optionally byte-compile everything
;; Load everything
(maphash
 (lambda (env-var filename)
   (unless (getenv env-var)
     ;; TODO: dry up the emacs.d dir location
     (let ((el-file (concat user-emacs-directory (concat filename ".el"))))
     (let ((el-file (concat user-emacs-directory "lib/" filename ".el")))
       (if (file-exists-p el-file)
           (load el-file)
         (message (concat "Could not load the file: " el-file))))))

R ansible.el => lib/ansible.el +0 -0
R bindings.el => lib/bindings.el +0 -0
R c-cpp.el => lib/c-cpp.el +0 -0
R clojure.el => lib/clojure.el +0 -0
R css.el => lib/css.el +0 -0
R docker.el => lib/docker.el +0 -0
R editing.el => lib/editing.el +0 -0
R emacs-package-library.el => lib/emacs-package-library.el +0 -0
R fish.el => lib/fish.el +0 -0
R functions.el => lib/functions.el +0 -0
R git.el => lib/git.el +0 -0
R godot.el => lib/godot.el +0 -0
R golang.el => lib/golang.el +0 -0
R groovy.el => lib/groovy.el +0 -0
R html.el => lib/html.el +0 -0
R internals.el => lib/internals.el +0 -0
R java.el => lib/java.el +9 -1
@@ 5,6 5,14 @@

;; A Better Java Development Environment for Emacs
;; https://github.com/mopemope/meghanada-emacs
(use-package meghanada :defer t)
(use-package meghanada
  :init
  (add-hook 'java-mode-hook
            (lambda ()
              (setq-default meghanada-mode t)
              (meghanada-server-start)
              ;; TODO: 10 below is arbitrary, the server takes
              ;; around 6 seconds to start on my primary workstation
              (run-with-timer 10 nil 'meghanada-client-direct-connect))))

;;; java.el ends here

R javascript.el => lib/javascript.el +0 -0
R jinja2.el => lib/jinja2.el +0 -0
R json.el => lib/json.el +0 -0
R keybindings.el => lib/keybindings.el +0 -0
R lua.el => lib/lua.el +0 -0
R markdown.el => lib/markdown.el +0 -0
R nginx.el => lib/nginx.el +0 -0
R orgmode.el => lib/orgmode.el +0 -0
R python.el => lib/python.el +0 -0
R racket.el => lib/racket.el +0 -0
R ruby.el => lib/ruby.el +0 -0
R rust.el => lib/rust.el +0 -0
R shaders.el => lib/shaders.el +0 -0
R slime.el => lib/slime.el +0 -0
R systemd.el => lib/systemd.el +0 -0
R terraform.el => lib/terraform.el +0 -0
R toml.el => lib/toml.el +0 -0
R ui.el => lib/ui.el +0 -0
R yaml.el => lib/yaml.el +0 -0