Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Small plates of gourmet Ruby code.
Watch me build an app from scratch.
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
The definitive guide to exceptions and failure handling in Ruby.
Tag Archives: emacs
A bunch of people have asked about my screencasting process for RubyTapas. My process is a work in progress that I frequently iterate on, so this is really just a snapshot of my process as of January 2013. I don’t … Continue reading
I was discussing comments vs. intention-revealing code with some folks on Twitter today and I realize that there’s a tool I take so much for granted I don’t even think about it any more. The tool is called VC-Annotate in … Continue reading
It’s frustrating when you have your buffers laid out just so, and then some command messes them up. In this episode I enable winner-mode, which keeps a ring buffer of window configurations so you can undo and redo changes to … Continue reading
Emacs makes it very easy to split your workspace into panes of arbitrary size and shape. But out of the box it doesn’t make navigating the panes with only the keyboard very convenient. In this quick screencast I enable “windmove”, … Continue reading
In which I demonstrate how to use Emacs to edit a directory tree just like you’d edit an ordinary file. Continue reading
Unlike more lightweight editors, it doesn’t really make sense to run a new instance of Emacs whenever editing a file. Emacs is at its best when managing many buffers, frames, and windows from a single master process. That way you … Continue reading
With my Emacs config files better organized, it’s time now to turn my attention to improving my experience editing Ruby files. First of all, I want to be able to quickly and easily drop into an IRB session from the … Continue reading
My brand-new init.el has been steadily growing. Before I go any further, it’s time to break it up into manageable pieces. I add some code to init.el which will load all elisp files in ~/.emacs24.d/init.d: (if (file-exists-p abg-init-dir) (dolist (file … Continue reading
I’m keeping this configuration synchronized between two machines. For most changes simply pushing the change to my Emacs Reboot GitHub repo and pulling it on the other machine is all I need. But when the customizations depend on a certain … Continue reading