emacs-ecosystem
Installation
SKILL.md
Emacs mechanisms whose documented behaviour differs from what their names suggest. Elisp syntax, defun,
let, pcase, and the package catalogue are assumed; every rule below is a place where correct-looking code
is silently wrong.
Baseline choices
Emacs 30.x is the baseline; defer to the active package set for the exact point release.
lexical-binding: tin the file header, always.- eglot for LSP: built-in since 29 and the recommended default.
- Tree-sitter
*-ts-modevariants where available (29+, improved in 30.2). - The modern completion stack: vertico, orderless, marginalia, consult, corfu, cape.
use-packageis built-in since 29; prefer:customoversetq,:hookoveradd-hook, and defer with:defer/:commands/:hook.#'function-namefor function references, so the byte-compiler can warn.- Namespace every symbol with the package prefix;
provideat end of file.