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
commit4a6eee7bb2e82246b4a07f517212fcf9ac40a157 (patch)
tree3ce58f7ae68886100d8b061b298a11b19254cd12 /modules/custom-case.el
parent07bbe4ee9ed49b873b02d7cad1c7a6903eccdde4 (diff)
downloaddotemacs-4a6eee7bb2e82246b4a07f517212fcf9ac40a157.tar.gz
dotemacs-4a6eee7bb2e82246b4a07f517212fcf9ac40a157.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