Tag Archives: Emacs-lisp

Elisp Summary

Mitch Fincher has posted an excellent summary of Emacs lisp. If you're vaguely familiar with Lisp-like languages but don't know the particulars of Elisp this page will help you get up to speed. If you're already familiar with Elisp, you … Continue reading

Posted in Programming | Tagged , | 1 Comment

What if Elisp and Python Had a Child?

John Kitchin, as Irreal has covered many times, is doing a lot of excellent work with Org mode and Emacs. Most of his scientific computation is done in Python, a language he's been using for 15 years and is very … Continue reading

Posted in General | Tagged , , , | 2 Comments

Emacs Streams

One of the nicest things in Scheme, I think, is the notion of streams. These are basically lazy, infinite lists. The idea is that you want a list of (possibly computationally complex) objects of indeterminate length. You could calculate the … Continue reading

Posted in General | Tagged , | 1 Comment

Elisp/Emacs Examples

Caio Rordrigues has an excellent resource for beginning/intermediate Elisp programmers that also lists some of the common Emacs customizations that many Emacs users end up making. For example, it tells you how to turn off requiring a “yes” or “no” … Continue reading

Posted in General | Tagged , | Leave a comment

Sacha Chua and John Wiegley on Elisp Development

Sacha Chua has a great video chat with John Wiegley on Elisp development. If you work with Elisp, you really should spend the time to watch it. Chua and Wiegley start by discussing paredit and its capabilities. I've been using … Continue reading

Posted in Programming | Tagged , | Leave a comment

Names

Yesterday, I wrote about name spaces in Emacs Lisp and mentioned Artur Malabarba's names package. In a nice example of serendipity, Malabarba has just published a post that explains what the names package is all about1. The basic idea is … Continue reading

Posted in Programming | Tagged , | Leave a comment

Scripting with Emacs

Sebastian Wiesner over at lunarsite has an excellent tutorial on scripting with Emacs. By “scripting with Emacs” he means we'd like to have a shell script containing some Elisp or a reference to a file containing some Elisp into which … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Sharp Quote and Emacs

Artur Malabarba has some good advice on sharp quoting Elisp functions. It's common for Elisp programmers to use a single quote (i.e the quote form) to mark functions. Malabarba explains why it's better practice to use #' (i.e. the function … Continue reading

Posted in Programming | Tagged , | Leave a comment

Why Lambda?

Thankful Monster explains something I didn't know. Very interesting. So that's where lambda comes from. I always just kind of thought it was picked at random. pic.twitter.com/wAY1PYN73B — Gerascophobia (@itsbeardo) October 25, 2014

Posted in Programming | Tagged , , , | Comments Off on Why Lambda?

let with Lexical and Dynamic Scope

Artur Malabarba points to this excellent Stack Exchange entry on the speed of let with lexical versus dynamic scope. Malabarba asks why let is faster with lexical scope than it is with dynamic scope. lunaryorn provides an excellent and detailed … Continue reading

Posted in Programming | Tagged , | Leave a comment