Monthly Archives: September 2011

Emacs Reboot #11: Line Numbers

Out of the box, Emacs shows me the current line number in the modeline, not the column number. And it doesn’t show any line numbers down the side of the page. Today I’m going to change that. First of all, … Continue reading

Posted in Emacs Reboot | Tagged | 4 Comments

Emacs Reboot #10: Lorem Ipsum

Somtimes I just need some filler text. And it’s silly typing it out myself when I’m using a thermonuclear text editor. Via EmacsWiki, I discover lorem-ipsum.el. I toss it into my elisp folder and set up some autoloads so that … Continue reading

Posted in Emacs Reboot | Tagged | 2 Comments

Emacs Reboot #9: Blogging

I really like all the features that WordPress gives me. But I hate writing blog posts inside of WordPress. I want to do all my writing inside Emacs! Ideally, I’d be able to write my posts in Org-Mode, and publish … Continue reading

Posted in Emacs Reboot | Tagged , , , | 6 Comments

Emacs Reboot #7: Ido

In which I enable ido-mode for fast buffer and file switching.

Posted in Emacs Reboot | Tagged | 21 Comments

SBPP #4: method Cascades

In Smalltalk, you can “cascade” side-effectful calls to the same object using the semicolon (;) operator. E.g.: If I understand it correctly, the semicolon is effectively a K-combinator or “Kestrel”. I am jealous. Sure, we have Object#tap, but that’s awfully … Continue reading

Posted in Smalltalk Best Practice Patterns | Tagged , , , , | 7 Comments

Emacs Reboot #8: Gists

Lately I’ve been using Github’s “Gist” service to post code snippets to this blog, so it would be really handy if I could quickly post new snippets from Emacs. There is a project by Chris Wanstrath called gist.el, but it’s … Continue reading

Posted in Emacs Reboot | Tagged , , | 5 Comments

SBPP #3: Reversing Method

I’m pleased to find Kent Beck shares my affinity for methods with a consistent cadence. In the next pattern I translate, he looks for a way to bring a uniform rhythm to a method that writes an object to a … Continue reading

Posted in Smalltalk Best Practice Patterns | Tagged , , , | 2 Comments

SBPP #2: Smalltalk Patterns in Ruby

Smalltalk Best Practice Patterns continues from the introduction with a brief explanation of patterns. Some notable quotes: About leveraging commonality: “large-scale software re-use has not proven to be the answer”. A lot of the mid-90s OO PR centered around the … Continue reading

Posted in Smalltalk Best Practice Patterns, Uncategorized | Tagged , | 4 Comments

SBPP #1: Introduction

The Ruby Rogues are reading Smalltalk Best Practice Patterns for next month’s book club, so I finally got around to ordering a copy. It’s high time, considering that in my experience it’s one of the most consistently recommended programming books … Continue reading

Posted in Smalltalk Best Practice Patterns, Uncategorized | Tagged , | 4 Comments

Emacs Reboot #6: Marmalade, Magit

In this episode, I use the Maramalade package archive to install the latest and greatest Magit-mode for managing Git repositories.

Posted in Emacs Reboot | 3 Comments