Monthly Archives: November 2011

Publishers And DRM

Last week I wrote one of my semi-regular rants about the publishing industry and their bad choices. Yesterday, Charlie Stross, a prominent SF author (Accelerando, Glass House, Halting State, Rule 34, and others) wrote a provocative piece on publishers and … Continue reading

Posted in General | Leave a comment

Emacs Markers

In a comment to my Emacs comment-box Revisited post, Aaron showed me a nice way to deal with the boundaries of expanding regions. Recall that in that post I wanted to pad the first line of a comment out to … Continue reading

Posted in Programming | Tagged | Leave a comment

Emacs Align Functions

Tim Visher has a new VimGolf in Emacs up. This time it’s a simple alignment problem using align-regexp, a function that we’ve talked about before. In this case he just used the simple align-regexp case and was done in about … Continue reading

Posted in General | Tagged | 1 Comment

Emacs comment-box Revisited

Last week I wrote about Comment Boxes In Emacs and gave some examples of how the comment-box command provides an easy way to draw a box around a comment. The only problem is that I want the boxes to extend … Continue reading

Posted in Programming | Tagged | 2 Comments

Xah Lee On Inserting Brackets In Emacs

Xah Lee has an interesting post on inserting bracket pairs in Emacs. This is exactly the same thing that I did using Key Chord Mode as I described in this post. The difference is that Lee uses Elisp code directly … Continue reading

Posted in General | Tagged | Leave a comment

And The Winner Is…

…password. SplashID has a list of 2011’s 25 most popular passwords as culled from the various exploits of LulzSec, Anonymous, and others. As expected, the runner up is 123456. Readers of this blog will find none of this surprising but … Continue reading

Posted in General | Tagged | Leave a comment

Another Emacs Cheat Sheet

Artur Hefczyc has an nice table of the Emacs keybindings. They are listed alphabetically by command name, not by action, so you need to know a good approximation to the name of the command you’re trying to run. It’s a … Continue reading

Posted in General | Tagged | 1 Comment

Text Replacement In Several Files With Emacs

Just a quickie. I was browsing around in Aaron Hawley’s Giant Emacs Reference Sheet when I came across this little ditty: C-x d *.c RET Q int RET long It was described as “replace ‘long’ for ‘int’ in .c files.” … Continue reading

Posted in General | Tagged | 5 Comments

Administrivia

The scum spammers, who doubtless describe themselves as SEO consultants, have discovered a new way to get links into forum comments: trackbacks and pingbacks. Irreal does have the occasional legitimate trackback and I enjoy them as they give me a … Continue reading

Posted in Blogging | 1 Comment

Comment Boxes In Emacs

Here’s a neat little hack that can save a bit of time. Emacs has the comment-box command that will put a mode-specific comment box around a region. For example, suppose you have the Elisp A function to do something very … Continue reading

Posted in Programming | Tagged | 3 Comments