Pages

2011-10-13

Dennis Ritchie lost in 'Reality Distortion Field'

Dennis Ritchie (dmr), the man who created the C programming language, and co-invented UNIX, passed away last weekend.

So sad that even slashdot is yet to report on it (as of 13-10-2011, 08:30 IST).

Once the world has forgotten Mr.Jobs, dmr's contribution to computing will still be remembered.

RIP sir.
 

2011-10-12

Emacs keybindings in GNOME Evolution 3.x

The old way wouldnt work with the GNOME Evolution 3.x that comes in Debian Wheezy. So, after a little digging around GtkHTML's sources, here..:
  1. Run 'gconf-editor'.
  2. Browse to "/desktop/gnome/interface/can_change_accels" and enable it.
  3. Browse to "/desktop/gnome/interface/gtk_key_theme" and set it to "Emacs".
  4. Start Evolution and open a new message. Hover your mouse over the 'menu items' whose key-bindings interfere with the normal Emacs world bindings (e.g: Print, Copy, Search, ...) and press "Del". This will 'unbind' those shortcuts from those menus. Close Evolution.
  5. Download this and put it in ~/.config/gtk-3.0/gtk.css
  6. Open a terminal and run:

    $ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"
    $ chmod u-w ~/.gnome2/accels/evolution
  7. Enjoy "Ctrl+N", "Ctrl+P".. etc in the composer.
Update 1: blogger.com stripped the tags in the gtk.css content posted here. So, linked it to a file hosted elsewhere.