-
Recent Posts
Recent Comments
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
Monthly Archives: December 2011
Emacs Syntax Classes
This is sort of a note to myself. I sometimes need to know the character designation of a syntax class. Most often this is for use with the \sC syntax in a regexp. For example (looking-at “^\\s-*$\\|\\s-*;”) asks if we’re … Continue reading
The Emacs regexp-opt Function
Sacha Chua introduced me to regexp-opt, an Emacs function that I hadn’t seen before. The idea is that regexp-opt will take a list of strings and return a more or less optimal regexp to recognize any of those strings. Because … Continue reading
Solution To The Emacs Programming Challenge
A few days ago, I posed an Elisp programming challenge that asked you to make the record (record (date “2005-02-21T18:57:39″) (millis 1109041059800) (sequence 1) (logger nil) (level ‘SEVERE) (class “java.util.logging.LogManager$RootLogger”) (method ‘log) (thread 10) (emessage “A very very bad thing … Continue reading
Turnkey Publishing
I’ve written several posts about the challenges facing the publishing industry and how their continued existence—at least in their current form—is looking increasingly tenuous. Just today Charlie Stross described the Internet as a “communication tool that tends to disintermediate supply … Continue reading
WordPress And Trackbacks
I’m a big fan of WordPress. I know a lot of people disagree but it works very well for me. It allows me to maintain a nicely laid out blog without spending a lot of time with administration. I do … Continue reading
Emacs’ jump-to-register In Exploratory Programming
I’ve written before about Emacs Registers and how you can store the mark in a register with 【Ctrl+x r Space】 register. That’s one of those things that’s occasionally useful because you can then jump to that position with 【Ctrl+x r … Continue reading
An Emacs Programming Challenge
In Converting S-Expressions To XML In Emacs, I showed how to take a log record expressed as Lisp and turn it into the equivalent XML. In More Fun With Log Files Stored As Lisp, I showed how to take that … Continue reading
More Details On find-file Vs. with-temp-buffer
Yesterday, I mentioned that Xah Lee had a short post on dramatically differing run times for processing several files with find-file versus processing the same files using with-temp-buffer. His post was fairly short and didn’t have a lot of details. … Continue reading
Timing Execution In Emacs
Xah Lee has a short post on find-file vs. with-temp-buffer for loading a large number of files. The results were sort of surprising, at least to me, so you should take a look if you need to load several files … Continue reading
The Power Of S-Expressions
In view of the fact that my last few posts have concentrated on the use of S-expressions to represent data—in particular, to represent log file entries—this seems like a good time to link to S-expressions: The most powerful data structure … Continue reading