2.3.6 Case Modification Commands ¶
Hemlock provides a few case modification
commands, which are often useful for correcting typos.
- Command: Capitalize Word (bound to M-c) ¶
- Command: Lowercase Word (bound to M-l) ¶
- Command: Uppercase Word (bound to M-u) ¶
-
These commands modify the case of the
characters from the point to the end of the current or next word, leaving
the point after the end of the word affected. A positive prefix argument
modifies that many words, moving forward. A negative prefix argument
modifies that many words before the point, but leaves the point unmoved.
- Command: Lowercase Region (bound to C-x C-l) ¶
- Command: Uppercase Region (bound to C-x C-u) ¶
-
These commands case-fold the text in the
region. Since these commands can damage large amounts of text, they ask for
confirmation before modifying large regions and can be undone with Undo.