Favorite resources for from-scratch Emacs package development?

Hey, folks.

I trust the opinions of the folks here more so than the broader audience at places like /r/emacs. Also this forum is not actively hostile to VPN users. :wink:

Anyone care to suggest their favorite resources for getting started with package development? I have a number of videos and e-books on the topic but the information is a bit scattered around and incidental to whatever topic the author is engaged with in that particular chapter. I don’t find diving into other packages to be the most effective place to start from a high-level/getting started perspective.

Appreciate any input. Thx

2 Likes

I’m not a proficient package developer; however, I came across this incomplete site that I found useful. https://craft-of-emacs.kebab-ca.se

2 Likes

Since you ask for favourite resources:

4 Likes

Thanks for the recommendations, folks.

For posterity, the resource which has been the most helpful comprehensively has been the Elisp Resource Kit (ERK). The resources linked in this thread have been solid supplemental resources however.

Could you please link to ERK?

Sorry, elisp Repo Kit:

Having written a few packages myself, my approach usually is to start hacking on a problem I’d like to solve in scratch buffer & then take care of packaging what I’ve build afterwards. For the process of packaging itself there’s a good section in emacses manual, which you can find here: Packaging (GNU Emacs Lisp Reference Manual) on top of that package-lint (GitHub - purcell/package-lint: A linting library for elisp package metadata) is useful to get the metadata and structure right. My general advice would be to have fun solving something in elisp first, have working code first, and then care about formalising it is a package as an afterthought. Another useful thing is using emacs helper/describe functions, if you ever wanted to figure out how package x does y then you’ll just be able to C-h f the function and inspect how it’s implemented, which is something I’d recommend if u want to become more proficient in elisp, that’s usually a way more hands-on approach than starting by the book.