Tag Archives: Emacs-lisp

Elisp Input With History And Completion

Xah Lee has a nice post up dealing with getting user input with completion and history in Emacs. I usually just use interactive with “s” or possibly “f” or “F” but Lee shows us a better way. Did you know … Continue reading

Posted in Programming | Tagged , | 1 Comment

Slicing Words With Elisp

I was playing around with another ITA hiring puzzle today and needed to “slice” a sequence of words. That is, I wanted to form a list of strings consisting of the first letters of each word, the second letters of … Continue reading

Posted in Programming | Tagged , | 1 Comment

Sending Mail Semi-Programmatically In Emacs

I have an ongoing project that I manage with an Org mode file. The file has the structure * [2012-03-21 Wed] ** Second Level Headline Some information about the second level headline … where the level one headlines are the … Continue reading

Posted in Programming | Tagged , , | 3 Comments

Org-Mac-Link-Grabber

Yesterday I wrote about my on-going effort to get rid of paper and to keep all my records and projects anchored in Org files. Yesterday’s post was about easily linking to receipts from my tax file. That’s nice because I … Continue reading

Posted in General | Tagged , , | 2 Comments

Linking To Receipts

I’ve written before about how I use Emacs and Org mode to track expenses for tax purposes. At the heart of the system are Org tables for various categories of expenses. Last month, I wrote about how a small piece … Continue reading

Posted in Programming | Tagged , | 2 Comments

Common Lisp, Scheme, Clojure, And Elisp Compared

A month ago we had a lively discussion here at Irreal on the question of whether or not Elisp sucks. As with most questions of this sort, there were champions of both positions: some felt that Elisp is a distinctly … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Reversing An Emacs Lisp List In-Place

Yesterday, Xah Lee put up a post that showed how to reverse arrays and lists in various languages, including Emacs Lisp. His Elisp examples worked only for arrays so I added one for lists in the comments. Later I realized … Continue reading

Posted in Programming | Tagged , | 5 Comments

Not Macros; Read

James Long has an interesting post up at his blog entitled Lisp: It’s Not About Macros, It’s About Read in which he argues that what makes Lisp so powerful is not really macros but the read function. The reason for … Continue reading

Posted in Programming | Tagged , , | Leave a comment

(Re)Naming Functions

This is another note to myself. Quite often we want to give a function another name. Sometimes this is because we want a shorter name for a function that we use a lot. For example, even though I use smex … Continue reading

Posted in Programming | Tagged , | Leave a comment

More Org Header Searching

The little Org-mode header searching functions that I wrote about in Finding Org Headers And Links turned out to be pretty useful so I added another one. This function is like find-all-org-headers except that it limits the search to those … Continue reading

Posted in Programming | Tagged , , | Leave a comment