So I've followed the instructions on the malabar-mode github page.
I have emacs packages set up, with melpa added as a an archive (which is where malabar-mode is). mvm
's containing directory is in my exec-path
, and I have added the following to my ~/.emacs
file, as per the README's instructions:
(setq semantic-default-submodes '(global-semantic-idle-scheduler-mode
global-semanticdb-minor-mode
global-semantic-idle-summary-mode
global-semantic-mru-bookmark-mode))
(semantic-mode 1)
(require 'malabar-mode)
(setq malabar-groovy-lib-dir "/path/to/malabar/lib")
(add-to-list 'auto-mode-alist '("\\.java\\'" . malabar-mode))
However, when I start up emacs, I get:
Warning (initialization): An error occurred while loading `/Users/kalaracey/.emacs':
File error: Cannot open load file, malabar-mode
How can I get malabar mode to work? I am using Emacs 24, which has CEDET built in, so that is why I have added the above code to my ~/.emacs
file (as per the instructions).