Go to the first, previous, next, last section, table of contents.


Insertion Functions

Note that the format function can be used to provide formatted insertion; simply give it a suitable output stream. See section Streams.

Command: insert string &optional pos buffer
Inserts the string string into the specified buffer at the cursor position (or pos, if defined).

Returns the position of the first character after the end of the inserted text.

When called interactively the string to insert is prompted for.

Command: insert-block &optional pos
If a block is marked in the current window, the text it contains is inserted at the position pos (or the cursor) and the block is unmarked.

If the marked block is rectangular the block is copied and inserted as a rectangle.

Command: yank &optional dont-yank-block
Inserts a string before the cursor. If a block is marked in the current buffer and dont-yank-block is nil insert the text in the block. Else yank the last killed text. See section Kill Functions.

When called interactively the raw prefix arg is used as the value of the dont-yank-block argument.

Command: yank-to-mouse
Moves the cursor to the current position of the mouse pointer then calls the yank function.

Command: open-line count
Break the current line at the cursor, creating count new lines. The cursor is left in its original position.

Command: split-line
This function inserts a newline character (`\n') at the current cursor position.


Go to the first, previous, next, last section, table of contents.