Category Archives: Programming

More Fun With Log Files Stored As Lisp

A couple of days ago, I wrote about Converting S-Expressions To XML in Emacs. That post was occasioned by my recent rereading of Steve Yegge’s The Emacs Problem in which he talks about, among other things, the utility of storing … Continue reading

Posted in Programming | Tagged , , | 1 Comment

This Is Just Too Weird

But if you want a visualization of quick sort, they’ve got you covered.

Posted in Programming | Leave a comment

Converting S-Expressions To XML In Emacs

My last two posts mentioned the ease with which s-expressions can be converted to XML and vice versa. Out of curiosity, I decided to write an sexpr to XML function in Elisp. The implementation consists of two functions. The first, … Continue reading

Posted in Programming | Tagged , | 2 Comments

Ruby vs. Lisp

Yesterday, I wrote about Steve Yegge’s The Emacs Problem post in which he examined a claim by a colleague that, among other things, Emacs should be rewritten to use Ruby as the interpreter. Today, serendipitously, I came across Learning Ruby, … Continue reading

Posted in Programming | Tagged | 3 Comments

The Emacs Problem

Almost all Emacs users are familiar with Steve Yegge’s Effective Emacs post. If you’re an Emacs user and haven’t read it, stop what you’re doing and go read it right now. As it happens, Yegge wrote several posts about Emacs … Continue reading

Posted in Programming | Tagged , | 5 Comments

Running Emacs Lisp On Several Files

Xah Lee as an instructive post on converting and scaling images with Emacs. Unlike him, I don’t often need to scale or convert even a single image, let alone many, but he does show an interesting technique to pass several … Continue reading

Posted in Programming | Tagged , | 8 Comments

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 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

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

Property Lists In Emacs

Xah Lee has a nice post up with a function that fixes what he sees as some problems with the default Emacs case-changing commands. Apparently, our use cases are different because I’m not bothered by the default behavior. Still, the … Continue reading

Posted in Programming | Tagged | Leave a comment