9.3 Operating on the Region
Once you have selected a region you can do a lot of things to the text
in the region:
- Kill the text with C-w. For example if you want to kill a
paragraph, position the cursor to the beginning of the paragraph and
type C-SPC. Then go to the end of the paragraph and type
C-w. The entire paragraph will be deleted. You can also select the
text with a mouse and type C-w to kill the entire
region. See Killing in SXEmacs User’s Manual, for more information.
- Save the text in a buffer or a file (see Accumulating
Text in SXEmacs User’s Manual).
- You can convert the case of the text with C-x C-l or C-x C-u
If you type C-x C-u the selected text will become all
upper-case. If you type C-x C-l the selected text will become all
lower-case.
- Print hardcopy with M-x
print-region. See Hardcopy in SXEmacs User’s Manual, for more
information. This command will print a hardcopy of only the selected
text.
- Indent it with C-x TAB or C-M-\
See Indentation in SXEmacs User’s Manual, for more information.