copy-region - Copy a region of the buffer
n copy-region (esc w)
copy-region copies all the characters between the cursor and the mark set with the set-mark(2) command into the kill buffer (so they can later be yanked elsewhere).
If the last command also entered text into the kill buffer (or the @cl(4) variable is set to one of these commands) the copy-region text is appended to the last kill.
The numeric argument n determines how the copy operates when a narrow region, defined by narrow-buffer(2), is encountered. The default operation, when the number argument is 1, is to copy all of the text contained within the narrowed region. When the numeric argument is 0 then narrowed region is NOT copied and the text is copied as it appears in the buffer.
To copy text from one place to another, using the copy-region command, the following operations are performed:
Repeat the last two steps to insert further copies of the same text.
Windowing systems such as X-Windows and Microsoft Windows utilize a global windowing kill buffer allowing data to be moved between windowing applications (cut buffer and clipboard, respectively). Within these environments MicroEmacs 2009 automatically interacts with the windowing systems kill buffer, the last MicroEmacs 2009 copy-region entry is immediately available for a paste operation into another windowing application.
The numeric argument n was introduced in the '04 release.
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12