-
Recent Posts
Recent Comments
- borgauf on JSON Versus S-Expressions (Again)
- plgx on Emacs Keybindings for Mac OS X
- Isaac on EmacsMovies Looks at Gnus
- jcs on Org Mode Summary
- Seth Mason on Org Mode Summary
Links
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
Categories
Meta
Tag Archives: Emacs-lisp
Emacs Hash Tables
One of the most useful data structures in Computer Science is the hash table. I’ve been using them for my entire career and have implemented close to a hundred instances in several languages. That’s not as necessary these days as … Continue reading
Maintaining My Blog Post Queue
Because inspiration doesn’t necessarily strike on demand, I like to stay a few posts ahead. For the last year, my procedure was to push a completed post to the site as a draft and then publish it when I was … Continue reading
A O(n) Solution to the Last Elisp Challenge
As I mentioned in the post, my An Elisp Challenge post was suggested by this Programming Praxis post. The next Programming Praxis post was a followup that discussed Booth’s Algorithm, which calculates how many left rotations a string must undergo … Continue reading
My Solution to the Elisp Challenge
Here’s my solution to the recent Elisp challenge. It’s easy to be seduced by the notion of rotating one sequence to see if it’s equal to the other. That would work but the rotation is pretty expensive and the solution … Continue reading
An Elisp Challenge
Here’s a simple Elisp challenge suggested by a problem from by ProgrammingPraxis. We call one string a cycle of another if one string can be transformed into the other by a rotation of the characters. Note that this means They … Continue reading
A Full Screen Eshell
Almost all of my tube time is spent in 4 programs: Emacs; Safari; Reeder; and Mail, roughly in that order. Naturally, I try to stay in Emacs as much as I can. In particular, I’ve long bound 【Ctrl+c s】 to … Continue reading
Elisp
No wonder it’s so hard to learn.
Emacs Batch Text Processing
Xah Lee has a page up on batch text processing with Emacs. The page is a recapitulation of several tips that Lee has published before. These tips were very helpful to me when I was trying to learn the Elisp … 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
Symbols in Emacs Lisp
One of the hardest things for Lisp newcomers to understand is symbols. They look tantalizingly like variables from other languages and, indeed, they are often just that. But, as the new Lisper soon discovers, they are much more. Xah Lee … Continue reading