Monthly Archives: January 2013

Swapping with replace-regexp

Most Irreal readers have probably already seen Mickey's post on Evaluating Lisp Forms in Regular Expressions, but he mentions one trick that is too good to miss so I'm going to repeat it. Not too long ago I was trying … Continue reading

Posted in General | Tagged | 2 Comments

A Word Frequency VimGolf in Emacs Challenge

Here's an interesting VimGolf challenge that nicely demonstrates the power of CUA selection mode. Given the word frequency chart align here the 56271872 of 33950064 and 29944184 to 25956096 in 17420636 I 11764797 that 11073318 was 10078245 his 8799755 he … Continue reading

Posted in General | Tagged | 3 Comments

Living the Lisp Machine Environment

A little while ago I wrote about Martin Fowler's post on InternalReprogrammability that celebrated Emacs reprogrammability and its recapitulation of the Lisp Machine environment. That capability is of more than theoretical importance as I, once again, discovered. Long time readers … Continue reading

Posted in Programming | Tagged | 3 Comments

A Groups Magic VimGolf in Emacs Challenge

Here's a simple ViGolf challenge that has a simple solution in Emacs. Given (a) (abc) (abcd) (123456) turn it into ___ _____ ______ ________ That is, replace everything in the sexpr with an underscore. This is really easy with Emacs … Continue reading

It's become fashionable of late to beat up on Google and wonder aloud what happened to their celebrated “Don't be evil” motto. Google provides a slew of useful services and the price we pay is to have our digital existences … Continue reading

Department of Red Meat

Heh Heh. I know, I know; I'm evil but I couldn't help myself.

Short Stories

This is a collection of short observations that don't merit a post of their own but that some may nevertheless find interesting. Social Science Here, in case you were wondering, is why most rational people consider the term “social science” … Continue reading

A Xah Lee Challenge

Over at ergoemacs.org, Xah Lee posses the following challenge: Find a simple and general method to create the following text. (global-set-key (kbd "<menu> g a") "A") (global-set-key (kbd "<menu> g b") "B") (global-set-key (kbd "<menu> g c") "C") (global-set-key (kbd … Continue reading

Posted in Programming | Tagged , | 4 Comments

A Real World VimGolf Challenge

In my CUA Mode Video post, I mentioned that the pointer to the video came from a comment to one of the posts in the Google+ Emacs Community. That post asks for advice on the best way of changing a[0] … Continue reading

Posted in General | Tagged | 6 Comments

CUA Mode Video

Over at the Google+ Emacs Community, Jean-Sébastien Ney (in a comment to this post) gives us a pointer to a very nice video on CUA-mode by Mark Mansour. Actually, the video really deals with the rectangle features of CUA-mode that … Continue reading