# Tag Archives: Emacs-lisp

## 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

## 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.

## 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

## 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

## 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

## 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

## 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

## Removing Repeated Occurrences of a Target Character From a String

The Problem While I was going through my RSS feed the other day, I came across this Programming Praxis problem and thought right away that the solution called for a state machine. It's one of those problems that seems easy … Continue reading

Posted in Programming | Tagged , | 2 Comments

## Mutable String and Emacs Buffer Passing Style

Speaking of Christopher Wellons, he's got a very interesting post over at null program on mutable strings and Emacs buffer passing style. Wellons starts by pointing out that strings in Emacs Lisp, like many other languages, have a fixed size … Continue reading