Get the latest tech news

A beginner's guide to extending Emacs


How to build a custom completion backend for emacs from scratch.

Note that running this a few times will eventually error out after no matches exist past your point. Without belaboring the point, you can – like I did – discover most of these functions by skimming existing elisp code and using it as a launch pad. Many of these functions are bog standard and show up all over the place in emacs packages ( save-excursion, progn, goto-char …)

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Guide

Guide

Photo of beginner

beginner

Photo of emacs

emacs

Related news:

News photo

Logging in Go with Slog: A Practitioner's Guide

News photo

iPhone 16 Pro vs. iPhone 17 Pro Buyer's Guide: 25+ Changes Compared

News photo

The Buyer’s Guide to Browser Extension Management