Tag Archives: Elisp

Using Pcase and Name-let for Pattern Matching and Tail Recursion

Erik L. Arneson has an interesting post about using functional programming constructs with Elisp. In particular, he considers pattern matching and tail recursion. Tail recursion is, in my estimation, one of the most useful properties a programming language can have. … Continue reading

Posted in General | Tagged , | Leave a comment

Mini Introduction to Elisp

For those of you who are afraid of Lisp—and in particular Elisp—Suraj Kushwah has a short video on Elisp that posits the way to love Emacs is to learn Elisp. I can relate, sort of. I first learned Lisp and … Continue reading

Posted in General | Tagged , | Leave a comment

Elisp Cheat Sheet

Wow! This post from Mickey is something I had no idea about. In Emacs 28, there’s a builtin cheat sheet for Elisp functions. You call shortdoc-display-group and are presented with a list of categories or “groups”. When you choose a … Continue reading

Posted in General | Tagged , | Leave a comment

Lets in Elisp

John Kitchin has a short video in his Scimax channel that considers another Elisp construct. This video talks about let and its siblings. One of the first non-trivial things a new Lisper learns is how to deal with local variables … Continue reading

Posted in General | Tagged , | Leave a comment

Kitchin on Elisp Data Structures

John Kitchin has another video up on his Scimax Channel. This time, it’s about elementary Elisp data structures and their manipulation. He considers Strings Lists Vectors Alists Plists Hash tables Strings aren’t really a data structure in the sense of … Continue reading

Posted in General | Tagged , | Leave a comment

Writing Elisp Functions

John Kitchin is back with another in his series of videos comparing Python and Elisp programming. This time it’s about writing Elisp functions. Earlier, Kitchin made a video discussing how to write Python functions. This video is a followup that … Continue reading

Posted in General | Tagged , | Leave a comment

Iteration with Elisp

John Kitchen has important things to do so naturally he’s procrastinating. That’s probably bad for him but it’s good for us because he has another Elisp video up. This one considers various ways of iterating in Elisp. Earlier, he had … Continue reading

Posted in General | Tagged , | Leave a comment

String Formatting

One of the things we programmers do all the time is to build strings of the sort In a survey of 342 programmers, 312 preferred Emacs. where the two numbers and the string “Emacs” are variables. If, like me, you … Continue reading

Posted in General | Tagged , | Leave a comment

Getting a List of Open PRs from Github (Part 2)

Three weeks ago, I wrote about Geoffrey Lessel’s video on writing an Emacs package to obtain a list of Pull Requests from a GitHub repository, present a chooser list, and then display the chosen PR in the default browser. That … Continue reading

Posted in General | Tagged , | Leave a comment

Getting a List of Open PRs from Github

Geoffrey Lessel is an Elisp n00b. Really a n00b. He’s not sure what the car and cdr of a list are and he doesn’t understand backquotes. But he’s not afraid to dig in and discover things as he goes along. … Continue reading

Posted in General | Tagged , | Leave a comment