Raw Syntax

The stuff programs are made of

Learn Emacs: Smex

Permalink

Scroll down for code snippets and text.

Smex is IDO style completion for M-x. It is very customizable. I recommend taking a look at the README for all the available options. Here's the minimum setup required.

It's available on the ELPA and the source is on github.

Smex source on github
available on marmalade repo

Reload Your App With Guard and Pow

Permalink

About 6 months ago I started using Pow for serving my apps in development mode. It loads any RACK compatible app, and allows you to access your projects via the .dev and named symlinks stored in ~/.pow (for example http://my_project.dev). No need to specify a port either!

Learn Emacs: Swap Windows

Permalink

When I use Emacs in GUI mode, I set it up to have two 80 column windows side by side. It's extremely convention when you need to look at one section of the code while writing another. For instance, you can have the spec file side by side with the code when doing TDD. Sometimes I want to swap the windows. This kind of functionality does not come built in with emacs. I found the swap-windows function that I use in Steve Yegge's .emacs file.