aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-case.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 16:20:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 16:20:01 -0500
commit7ed6bab1be762c5c9355ffdb12289e66758f1d29 (patch)
tree58ce8539b93170356fb78152c8c7fa031ef2396a /modules/custom-case.el
parent1e74aefa7f6a4b9533117188bf930d36eeecdbef (diff)
downloaddotemacs-7ed6bab1be762c5c9355ffdb12289e66758f1d29.tar.gz
dotemacs-7ed6bab1be762c5c9355ffdb12289e66758f1d29.zip
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.
Diffstat (limited to 'modules/custom-case.el')
-rw-r--r--modules/custom-case.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/custom-case.el b/modules/custom-case.el
index 3f7ebc4d7..d8c60b554 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