From 1dfd02da826d61d528fe42c5bee3c5dbcf098c82 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 24 May 2026 16:20:01 -0500 Subject: docs(load-graph): classify text/editing command modules Second classification batch: the nine custom-* text/editing command helpers (case, comments, datetime, buffer-file, line-paragraph, misc, ordering, text-enclose, whitespace). I annotated each with the load-graph header contract and added a Batch 2 table to the inventory. They're all Layer 2, eager only to register a C-; submap at load, with no necessary eager reason, so all are Phase 3/4 deferral candidates. The inventory records a second hidden dependency for Phase 2: custom-buffer-file guards its C-; b registration with (when (boundp 'cj/custom-keymap) ...) and declares the keymap only via eval-when-compile, so the binding silently drops when the module loads without keybindings. --- modules/custom-whitespace.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'modules/custom-whitespace.el') diff --git a/modules/custom-whitespace.el b/modules/custom-whitespace.el index 622ba5f4..19e2e020 100644 --- a/modules/custom-whitespace.el +++ b/modules/custom-whitespace.el @@ -1,7 +1,17 @@ ;;; custom-whitespace.el --- -*- coding: utf-8; lexical-binding: t; -*- ;;; Commentary: - +;; +;; Layer: 2 (Core UX). +;; Category: L/C. +;; Load shape: eager. +;; Eager reason: registers its C-; w whitespace submap at load. Currently eager +;; by init order; a deferral candidate for Phase 3/4 (command/autoload + +;; registration API). +;; Top-level side effects: defines cj/whitespace-map, registers it under C-; w. +;; Runtime requires: keybindings. +;; Direct test load: yes (requires keybindings explicitly). +;; ;; This module provides whitespace manipulation operations for cleaning and transforming whitespace in text. ;; Functions include: -- cgit v1.2.3