Monthly Archives: October 2011

A Common Lisp Quick Reference

Bert Burgemeister has a very nice Common Lisp Quick Reference available for download. The idea is that you print it out, fold the pages, and staple them to form a little booklet. He’s got copies for A4 and letter size … Continue reading

Posted in Programming | Tagged | 1 Comment

Multiplication Table In Emacs Revisited

Yesterday, I wrote about generating a 10 × 10 multiplication table in Emacs Lisp. The solution I gave involved using the dolist macro with a list of the numbers 1–10 like this (dolist (r ‘(1 2 3 4 5 6 … Continue reading

Posted in Programming | Tagged , | 2 Comments

Multiplication Table In Emacs Lisp

Xah Lee saw my post about Tim Visher’s video on building a multiplication table in Emacs and decided to experiment. Visher’s video was in the context of VimGolf where the goal was to build the table in the minimum number … Continue reading

Posted in Programming | Tagged , | 10 Comments

The Emacs Help Function

Most Emacs users are familiar with the “common” help functions Key Function 【f】 Describe function 【v】 Describe variable 【k】 Describe key sequence 【a】 Apropos 【i】 Info and perhaps a few others such as 【Ctrl+a】 to display the Emacs start page. … Continue reading

Posted in General | Tagged | 2 Comments

Dennis Ritchie

As I said yesterday, I was on the road last week so I’m late with this post about the death of dmr but I can’t let his passing and accomplishments go unremarked. As he was for many, dmr was one … Continue reading

Posted in General | Leave a comment

Replace Digits By Subscripts In Emacs

Xah Lee had an interesting Emacs Lisp problem last week but I was away and unable to join the fun. The problem is to replace any occurrence of a digit in a string by the equivalent subscript. Thus 1 → … Continue reading

Posted in Programming | Tagged | 2 Comments

A Screencast on Emacs Dired Basics

If you’re new to Dired and like to learn visually (as compared to, say, reading about a subject), Kenny Meyer has an interesting screencast on Dired basics that you may enjoy. He covers Copying files Deleting files Renaming files Creating … Continue reading

Posted in General | Tagged , | Leave a comment

Delete Backwards To BOL in Emacs

This is another short Emacs tip that’s really a note to myself. The other day, I found myself in the middle of a line and needed to delete everything back to the beginning-of-line. I was sure there was some way … Continue reading

Posted in General | Tagged | 6 Comments

Eval And Replace In Emacs

I was watching another of Tim Visher’s VimGolf videos in which he builds a multiplication table by the clever use of keyboard macros. What got my attention, however, was his use of the function eval-and-replace that evaluates the sexp preceding … Continue reading

Posted in Programming | Tagged , | 10 Comments

Transposing In Emacs

Most Emacs users know about using 【Ctrl+t】 to transpose two letters and 【Meta+t】 to transpose two words but there are two other useful transposition commands. You can use the sequence 【Ctrl+x Ctrl+t】 to transpose two lines. As with the other … Continue reading

Posted in General | Tagged | 2 Comments