Tag Archives: Emacs-lisp

Pcase and Friends

Early last year, I wrote about John Wiegley’s excellent tutorial on pcase. This tweet from Bozhidar Batsov: pcase and pcase-let are so insanely powerful, but few #Emacs hackers know how to use them. Read this great article! https://t.co/87n9civ3Y8 — Bozhidar … Continue reading

Posted in General | Tagged , | 1 Comment

A Simple Programming Praxis Solution in Elisp

Programming Praxis has a simple problem that is meant to explore how easy your favorite programming language makes it to work with strings. The problem is to double every blank in a string. That’s pretty simple but some languages make … Continue reading

Posted in Programming | Tagged , | 6 Comments

Elisp Symbols Tutorial

Four years ago, I wrote about Xah Lee’s Elisp symbols tutorial. It’s a excellent tutorial that helps n00bs understand symbols and distinguish them from their close cousins, variables, found in other languages. I noticed today that Lee has updated the … Continue reading

Posted in General | Tagged , | Leave a comment

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