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)
Subscribe to the System Crafters Newsletter!
Stay up to date with the latest System Crafters news and updates! Read the Newsletter page for more information.
Name (optional)
Email Address