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-case.el | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'modules/custom-case.el') diff --git a/modules/custom-case.el b/modules/custom-case.el index 3f7ebc4d..d8c60b55 100644 --- a/modules/custom-case.el +++ b/modules/custom-case.el @@ -2,6 +2,17 @@ ;;; Commentary: ;; +;; Layer: 2 (Core UX). +;; Category: L/C. +;; Load shape: eager. +;; Eager reason: registers its C-; c case 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/case-map, registers it under C-; c, remaps +;; capitalize-region. +;; Runtime requires: keybindings. +;; Direct test load: yes (requires keybindings explicitly). +;; ;; Utilities for changing text case. ;; - cj/title-case-region: Title-cases the active region, or the current line if ;; no region. Follows common English rules: major words capitalized; minor words -- cgit v1.2.3