My Emacs Customizations
NOTE:An updated actionscript-mode, supporting AS3, can be found here.
One of Emacs greatest strengths is the fact that it is infinitely customizable. Recently, I have spent a lot of time configuring and extending my setup.
NOTE:My dot emacs files are a work in progress. I've been updating and changing them on a weekly basis. I recommend that you pick and choose the snippets of code that you would like to use, rather than using the files as-is. There are many dependencies sprinkled throughout the code. For example, you can grab all the syntax highlighting out of the actionscript mode, but some of the functions require that other tools are installed on your system.
My customization files
The main config file
Programming language specific files (loaded by .emacs)
Actionscript Major Mode and document templates
I keep all of these files in a subfolder of ~/.emacs.d/ named site, which I version control with CVS. .emacs needs to be in your HOME folder, so I create a symlink like this:
BASH
-
cd ~
-
ln -s .emacs.d/site/.emacs .emacs
Actionscript Major Mode
My actionscript-mode.el is an extension of ecmascript-mode.el, by David Lindquist. In a future post, I will describe some of the functions that I added.
March 19th, 2007 at 12:32 pm
Maybe something’s messed up with my browser, but the file actionscript-mode.el came down to me gzip’d (but it does not have a .gz suffix)… after looking at binary garble in my text editor, I guessed that it was gzip’d, and I guessed right. I was able to decompress it with gzip, and now it looks fine.
Anyway, I’m assuming that this is a mistake, because the other files are not gzip’d.
March 19th, 2007 at 2:37 pm
Thanks, Jason. I had setup compression on my server last night and I didn’t notice that it wasn’t working properly with those files. I’ve disabled compression for now.