Copyright (C) 2006 Mauricio Fernandez <mfp@acm.org>
Inspired by ri-emacs.rb by Kristof Bastiaensen <kristof@vleeuwen.org>