Code Dive: Project.el in Emacs

News

Let's dive into the code!

I'm going to experiment with a new model for the weekly streams!

I have a few different show concepts in mind that I will attempt to rotate over the course of 4 or 5 weeks so that we always have something interesting to come back to.

This week is our first "episode" of Code Dive, a stream segment where we dive deep into the code of a package, program, or library to discover interesting patterns and see how we might use these insights for our own projects!

This week we'll take a look at the built-in project.el package in Emacs to see what interesting things we can learn from it.

(defun my/project-prompter ()
  (read-file-name "Select a project folder:"
                  "/home/daviwil/Projects/Code/"
                  nil
                  nil
                  nil
                  #'file-directory-p))

(setq project-prompter #'my/project-prompter)

Enjoyed this stream? Explore our hands-on courses for deeper, structured learning on Guile Scheme and more.

Get the System Crafters Newsletter
Updates on open source tools, tutorials, and community projects. We'll also occasionally let you know about new courses and resources.
Name (optional)
Email Address