A Beginner's Guide to Making Emacs Packages: from mkdir to MELPA

A Beginner's Guide to Making Emacs Packages: from mkdir to MELPA

DISCLAIMER: I am by no means a wizard at Emacs Lisp development. I will do my best to ensure that the advice and instructions here are as accurate as possible, but bear in mind that I’m kind of figuring this out as I go along. NO WARRANTY!

I wrote this as I developed my very first Emacs package. This will guide you through what I found to be the bare minimum necessary in crafting a minor-mode for Emacs.

This guide assumes you are already familiar with using Emacs and programming in Lisp—any dialect will be fine. Emacs Lisp has some quirks you won’t see in many other flavors of Lisp (most notably the presence of dynamic scoping, though we’ll use lexical scoping in this guide as it’s required to submit stuff to MELPA). It also assumes you have a GitHub account and know how to use Git and the command line.

Getting Started #

Submitting to MELPA #

Further Reading #

Mastodon