Tag Archives: Emacs-lisp

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

Casting Spels in Emacs Lisp

Conrad Barski (with Jim Webb) has released an Elisp version of his entertaining introduction to Lisp. Perfect for the N00b but even experts may find it delightful.

Posted in Programming | Tagged , | Leave a comment

Elisp and the Clojure Threading Macros

One set of Clojure features that its adherents are quite fond of is the threading macros ->, ->>, and –>. Unless you’re familiar with Clojure, you probably don’t know what they do. You might wonder why we should care. The … Continue reading

Posted in Programming | Tagged , | Leave a comment

Debugging Emacs Lisp

Nic Ferrier has posted a nice video tutorial on debugging Elisp. Ferrier covers the basics of instrumenting your code, stepping through it, setting breakpoints, and other edebug functions. He also demonstrates macrostep, a package that allows you to expand and … Continue reading

Posted in Programming | Tagged , | Leave a comment