Emacs is getting more user-friendly all the time (especially Aquamacs Emacs on the Mac), but it still has some unixy ways of doing things which allow great freedom at the price of obscure installation instructions.
ado-modeuses some newer tools in the newer versions.
ado-mode-184.108.40.206. If you love version control, let the name alone. If you like things with constant names, strip the end off the folder name, and call it
ado-mode. The rest of the instructions assume you've called it
ado-modefolder in a place where Emacs will find it.
ado-modefolder in the place you keep your other emacs customizations.
C-h v user-emacs-directory.
emacsfolder in a useful place.
ado-modefolder into it, and remember where you put the
ado-modefolder. (For the instructions, I'll assume you put things in this non-standard place:
(add-to-list 'load-path "/Universal/Custom/emacs/ado-mode/lisp")
.emacsfile, but what is named on your system depends on the type of Emacs you are running. If you are unfamiliar with such files, open up Emacs and use
C-h ito bring up info, then type
m em RET m init file(emacese for menu emacs, and then menu init file) to read the docs on initialization files.))
M-x customize-group RET ado, and pay close attention to the group called Ado Essentials.
personal_scrap.el. It might be worth peeking at these so that you can see what is set.
You will likely want to change the default colors for the font highlighting. Here is a screenshot of the highlighting I use, and which I find quite readable:
The font-locking can be changed either by customizing the
ado-mode faces directly using
M-x customize-group ado-font-lock, or by changing the
font-lock faces which are inherited by the ado-mode via
M-x customize-group font-lock-faces. I prefer the latter, because changes will then stick for all other programming languages (but it requires knowing which ado-mode names come from which Emacs names). In any case, here are the actual colors from the above screen-shot:
To see what colors are available in Emacs, try
Note that specifiying the font is system specific. I use the
apple-dejavu sans mono font, because I like it. Others like other fonts. You should set the font from within emacs by using
M-x customize, and then clicking the
Basic Faces, and then click the
show button next to Default face. This will avoid all the platform specific methods for referring to fonts.
If you run into trouble, because you keep getting
Symbol's function definition is void: line-number-at-pos errors, put the following into your
(require 'ado-hacks). This should cause the proper function get loaded without having it interfere with future updates. (This problem seems to happen for emacs 21.something and earlier.)
If you have any trouble with the installation instructions, drop me a line so that I can fix them.
If you would like keep up with updates, subscribe to http://twitter.com/statuses/user_timeline/106578815.rss, which is the @adomode Twitter account. This seems like an easy way to have a very-low-traffic RSS feed without any maintenance.