Tag Archives: Elisp

Learn Elisp with Xah

Xah Lee is running a one month long Elisp tutorial. Everyday he points you to one of his Elisp pages and then gives a quiz or assignment to test your knowledge of the material. The course has been going on … Continue reading

Posted in General | Tagged , | Leave a comment

Associating ielm with a Buffer

Another handy tip from Wilfred Hughes: Today's hidden Emacs gem: pressing C-c C-b in an ielm buffer lets you associate it with a buffer, so you can inspect buffer-local variables. — Wilfred Hughes (@_wilfredh) June 7, 2015

Posted in General | Tagged , | 1 Comment

Decimalizing Latitude and Longitude

Xah Lee has reintroduced a challenge from last year. Given a string of latitude/longitude is degrees, minutes, seconds, write a function that returns them as signed decimal numbers. That is, “37°26′36.42″N 06°15′14.28″W” → (37.44345 -6.253966666666667) I remember looking at this … Continue reading

Posted in Programming | Tagged , | 2 Comments

Solution To The Add-A-Gram Challenge

Last week, I issued a challenge to solve the Add-A-Gram puzzle using Emacs and Elisp. The puzzle statement is here. This is an interesting problem that’s easy to get wrong.The solution seems straightforward: Start with a 3-letter word (car, say). … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Elisp Challenge No. 2

The other day, I found a reference to the Add-A-Gram puzzle, which is one of the retired challenges from ITA Software for prospective employees. Today’s challenge is to solve the Add-A-Gram puzzle with Emacs/Elisp. I’ll give a solution next week.

Posted in Programming | Tagged , | 1 Comment

Marking Up Key Sequences For HTML

The other day, I wrote about Xah Lee’s post on aliases. One of his aliases was for htmlize-keyboard-shortcut-notation. I realized that this was probably the function he used to markup the key sequences in his posts and I had (yet … Continue reading

Posted in Programming | Tagged | 6 Comments