aboutsummaryrefslogtreecommitdiff
path: root/docs/design/module-inventory.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-11 14:58:30 -0500
committerCraig Jennings <c@cjennings.net>2026-07-11 14:58:30 -0500
commite52668985817b92f296606707694729b866e8364 (patch)
tree6b4214ff67acee159ac4e78a3a8ebd2f32dcf55a /docs/design/module-inventory.org
parent734172047b05a7dd4d75c86f8aae66c5ae807de0 (diff)
downloaddotemacs-e52668985817b92f296606707694729b866e8364.tar.gz
dotemacs-e52668985817b92f296606707694729b866e8364.zip
fix(custom-case): align title-case with its docstring and standard rules
cj/title-case-region contradicted its own docstring in three ways. It lowercased "is" despite the docstring calling linking verbs major words; it never restarted capitalization after a sentence-ending period; and it had no rule to capitalize the last word. I made the code match the standard: dropped "is" from the minor-word skip list, added the period to the reset characters (a period plus a blank restarts, so "3.14" and "foo.bar" are still left alone), and always capitalize the last word by locating its start once. Updated the four characterization tests that asserted the old behavior and added tests for the last-word and period-restart rules.
Diffstat (limited to 'docs/design/module-inventory.org')
0 files changed, 0 insertions, 0 deletions