Go to the first, previous, next, last section, table of contents.
Each window may define one block, this is a region of the buffer
displayed in the window which is rendered in the opposite colours to
normal (i.e. the same as the normal cursor, when the cursor is in a block
it's drawn in the inverse of the block). Blocks are primarily used for
marking areas of a buffer which will subsequently be manipulated.
Normally the area of the buffer contained by a block is delimited by
two positions; the start and end of the block (these will track changes made
to the buffer and adjust themselves, like marks do). It is also possible
to mark rectangular blocks; these are also delimited by two positions,
but they define the two opposite corners of the rectangular block.
- Function: blockp
-
Returns
t if a block is marked in the current window.
- Function: mark-block start-pos end-pos
-
Define the beginning and end markers of the block to display in the
current window.
- Command: block-kill
-
Unmark the block displayed in the current window.
- Command: mark-word count &optional pos
-
Mark count words from pos (or the cursor pos) in the current
window.
- Command: mark-whole-buffer
-
Mark the whole of the current buffer.
- Function: block-start
-
Returns the position of the beginning of the block marked in the
current window. If no block is defined returns
nil.
- Function: block-end
-
Returns the position of the end of the block, or
nil if no block
is defined in the current window.
- Command: block-toggle
-
Toggles between marking the beginning, marking the end and totally
unmarking the block in the current window.
- Function: rect-blocks-p &optional window
-
Returns
t if the block marked in the window is drawn as a rectangle.
- Function: set-rect-blocks window status
-
Defines whether or not the block drawn in window is drawn as a rectangle
or not. If status is
nil it isn't.
- Command: toggle-rect-blocks
-
Toggles between marking normal and rectangular blocks in the current window.
Go to the first, previous, next, last section, table of contents.