(Rectangles): Document C-x c r.

This commit is contained in:
Richard M. Stallman 2003-01-20 08:52:12 +00:00
parent 7391612312
commit 3b4d49d736

View file

@ -561,8 +561,9 @@ Yank the last killed rectangle with its upper left corner at point
Insert blank space to fill the space of the region-rectangle Insert blank space to fill the space of the region-rectangle
(@code{open-rectangle}). This pushes the previous contents of the (@code{open-rectangle}). This pushes the previous contents of the
region-rectangle rightward. region-rectangle rightward.
@item M-x clear-rectangle @item C-x r c
Clear the region-rectangle by replacing its contents with spaces. Clear the region-rectangle by replacing its contents with spaces
(@code{clear-rectangle}).
@item M-x delete-whitespace-rectangle @item M-x delete-whitespace-rectangle
Delete whitespace in each of the lines on the specified rectangle, Delete whitespace in each of the lines on the specified rectangle,
starting from the left edge column of the rectangle. starting from the left edge column of the rectangle.
@ -615,12 +616,13 @@ Registers}.
@kindex C-x r o @kindex C-x r o
@findex open-rectangle @findex open-rectangle
@kindex C-x r c
@findex clear-rectangle @findex clear-rectangle
There are two commands you can use for making blank rectangles: There are two commands you can use for making blank rectangles:
@kbd{M-x clear-rectangle} which blanks out existing text, and @kbd{C-x r @kbd{C-x r c} (@code{clear-rectangle}) which blanks out existing text,
o} (@code{open-rectangle}) which inserts a blank rectangle. Clearing a and @kbd{C-x r o} (@code{open-rectangle}) which inserts a blank
rectangle is equivalent to deleting it and then inserting a blank rectangle. Clearing a rectangle is equivalent to deleting it and then
rectangle of the same size. inserting a blank rectangle of the same size.
@findex delete-whitespace-rectangle @findex delete-whitespace-rectangle
The command @kbd{M-x delete-whitespace-rectangle} deletes horizontal The command @kbd{M-x delete-whitespace-rectangle} deletes horizontal