A fork of Rob Myers' Emacs major mode providing syntax highlighting and indentation for MOO code.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autocomplete
yasnippet/moocode-mode
.gitignore
COPYING
README
dev-moocode-mode.el
moocode-mode.el

README

moocode-mode.el
===============

By Rob Myers <rob@robyers.org>

Emacs support for editing LambdaMOO code.


Installation
============

Major Mode
----------

To install the Emacs major mode, add the file moocode-mode.el to your Emacs
load path. You can then load it by typing the following in Emacs:

 M-x moocode-mode

Alternatively you can have Emacs load it automatically for files with a .moo
extension by adding the following to your .emacs file:
 
(require 'moocode-mode)
(add-to-list 'auto-mode-alist '("\\.moo$" . moocode-mode))

Autocomplete
------------

To install the autocomplete dictionary, copy the file ``moocode-mode'' to the
autocomplete directory in your autoload dictionary directory. e.g.:

cp moocode-mode ~/.emacs.d/ac-dict

Then rebuild the autocomplete cache by typing the following in Emacs:

M-x ac-clear-dictionary-cache

Other Files
-----------

You don't need to install dev-moocode-mode.el, it just contains code used in
making the regular expressions used by moocode-mode.el .