Tag Archives: Emacs-lisp

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

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

Generating Random Trees

I've mentioned Atabey Kaygun's blog before. He mostly writes short posts on some mathematical algorithm, which he illustrates with Lisp. One such post was about generating random trees of nodes in such a way that every possible tree having nodes … Continue reading

Posted in Programming | Tagged , | Leave a comment

Emacs Idioms

Learning to configure and extend Emacs is pretty easy for those with a modicum of Lisp experience. Much has been written about the shortcomings of Elisp and while those criticisms have merit, it's easy for a Lisper to become comfortable … Continue reading

Posted in Programming | Tagged , | Leave a comment

An Emacs Style Guide

Bozhidar Batsov, proprietor of Emacs Redux, is starting an interesting new project: The Emacs Lisp Style Guide. The idea is to create a community contributed set of rules for “good Elisp form.” Normally, I'd hate that sort of thing. Almost … Continue reading

Posted in Programming | Tagged , | Leave a comment