No description
  • Emacs Lisp 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2014-06-11 21:07:55 -07:00
autocomplete Initial commit. 2014-05-20 20:01:55 -07:00
.gitignore Initial commit. 2014-05-20 20:01:55 -07:00
COPYING Fix COPYING. 2014-05-27 21:06:30 -07:00
dev-serpent-mode.el Added elif. 2014-06-02 16:53:47 -07:00
README Rewrite indentation - make it simpler to understand and modify, and more robust. Fix README typo. 2014-06-11 21:07:55 -07:00
serpent-mode.el Rewrite indentation - make it simpler to understand and modify, and more robust. Fix README typo. 2014-06-11 21:07:55 -07:00

serpent-mode.el
===============

By Rhea Myers <[email protected]>

Emacs support for editing Serpent code.


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

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

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

 M-x serpent-mode

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

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

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

cp serpent-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-serpent-mode.el, it just contains code used in
making the regular expressions used by serpent-mode.el .