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


The Cursor Position

Each window displays a cursor, this is rendered as a character in the opposite colour to what it would usually be (i.e. normally a dark rectangle). The cursor is used to show the user where any characters they type will be inserted, each window has a separate cursor position and buffers which are not being displayed `remember' the last position of their cursor.

Function: cursor-pos
This function returns a copy of the cursor position in the current window.

(cursor-pos)
    => #<pos 14 5638>

Function: goto-char pos
Sets the position of the current window's cursor to the position object pos, then returns pos.

Note that the components of pos are copied, any subsequent modification of pos will not affect the cursor.

If the line number of pos points to a non-existent line the cursor won't be moved and nil will be returned.


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