PREV UP NEXT GNU Emacs Lisp Reference Manual

Chapter 28: Markers

A marker is a Lisp object used to specify a position in a buffer relative to the surrounding text. A marker changes its offset from the beginning of the buffer automatically whenever text is inserted or deleted, so that it stays with the two characters on either side of it.

  • Overview of Markers The components of a marker, and how it relocates.
  • Predicates on Markers Testing whether an object is a marker.
  • Creating Markers Making empty markers or markers at certain places.
  • Information from Markers Finding the marker's buffer or character position.
  • Changing Markers Moving the marker to a new buffer or position.
  • The Mark How ``the mark'' is implemented with a marker.
  • The Region How to access ``the region''.