This post originated from an RSS feed registered with Ruby Buzz
by Bryan Liles.
Original Post: Getting started with Emacs (again)
Feed Title: Smarticus
Feed URL: http://smartic.us/feed/atom.xml
Feed Description: Ramblings of a ruby hacker
It’s that season again. Time to shake things up a little and move editors. I’ve actually moved to Emacsin the past. I like to move editors every so often, because I like to shake things up. What I’ve learned is that in this previous vim stint, I’ve shed all working knowledge of Emacs, so it will be like starting from step one.
Before I started, I re-watched the Peepcode Emacs video, and installed the Emacs starter kit. Over the next few days, I’m going to force myself to use Emacs for everything, so I can start getting the finger memory back.
I downloaded both the Cocoa port of GNU Emacs 23.2 and Aquamacs. After I installed them both, I just launched them, so I could get good feel for the aesthetics each port provided. The Cocoa port lost out due to some weird black square artifact that appeared before I was able to get my theme configured.
I’ve chosen Aquamacs for now, but it is good to know that my basic configuration loaded up in both just fine.
Next up was Peepopen. I’ve enjoyed this tool in MacVIM, so this was a must have for Aquamacs. The installation was a breeze. I only had add a few lines to my Emacs configuration.
Once I chose which editor I wanted to use with Peepopen, everything worked as I had hoped.
When it comes to themes, there is only one that I really like: ir_black. I used it back in my Textmate days, I use it with MacVIM, I use in my terminal, and I had to use it with Emacs as well. Someone had already created an ir_black theme, and they were sharing it on GitHub, so I downloaded it and added it to my configuration.
I like to keep my configurations in git. Since I was including files in my configuration that came from other git repos, I have decided to use submodules. Hopefully this doesn’t burn me in the long run.
Now it was the time to tackle RVM. I use and love RVM daily, so I really want support for it in my editor. In MacVIM, the support that I had conjured was minimal, and I was hoping I could step it up a notch with Emacs.
As you can see in my little fuzzy video, there is a plugin at http://github.com/senny/rvm.el that does some of what I’m looking for. It allows you choose your ruby version and gemset, and that is a good start. Next up, I’m going to want what ruby version/gemset I’m using in my status bar (or whatever Emacs) calls it.
Finally, I wanted gist integration. A quick search led me to http://github.com/defunkt/gist.el. It worked, but I need to tweak it a bit more before it works properly.
Now I have a basic Emacs configuration. It is in no way optimized for way I like to do things, but I’d rather introduce features one at a time rather than just dumping someone else’s crazy config in my home directory.