Picture mode defines commands for working on rectangular pieces of the text in ways that fit with the quarter-plane model. The standard rectangle commands may also be useful (see Rectangles).
Clear out the region-rectangle (
argument, kill it.
Similar but save rectangle contents in register r first
Copy last killed rectangle into the buffer by overwriting, with upper
left corner at point (
picture-yank-rectangle). With argument,
Similar, but use the rectangle in register r
The picture rectangle commands C-c C-k
picture-clear-rectangle) and C-c C-w
picture-clear-rectangle-to-register) differ from the standard
rectangle commands in that they normally clear the rectangle instead of
deleting it; this is analogous with the way C-d is changed in Picture
However, deletion of rectangles can be useful in Picture mode, so these commands delete the rectangle if given a numeric argument.
The Picture mode commands for yanking rectangles differ from the standard
ones in overwriting instead of inserting. This is the same way that
Picture mode insertion of other text is different from other modes.
C-c C-y (
picture-yank-rectangle) inserts (by overwriting) the
rectangle that was most recently killed, while C-c C-x
picture-yank-rectangle-from-register) does for the
rectangle found in a specified register.
Since most region commands in Picture mode operate on rectangles, when you select a region of text with the mouse in Picture mode, it is highlighted as a rectangle.