I've recently started learning emacs since I was unhappy with Textmate and as a starting point read the "Effective Emacs" article by Steve Yegge. I was very keen on his CTRL -> CAPS LOCK swap, but I don't want to do it OS-wide, I want this swap to only occur in emacs every time I run it.
I was wondering if there's a way to do this in the .emacs file instead of going into system-properties and swapping it for the whole OS. I'm using Mac OS X Leopard.