Markers

A marker is a named location in a buffer. There can be any number of markers defined at any one time. Markers are persistent; they are saved to .filename.marks, where filename is the file name. (The dot prefix makes the marks file hidden on Unix systems). In a way, markers are similar to caret registers (see the section called Caret Registers) except that they are persistent and can have names of any length.

Search>Set Marker (keyboard equivalent: Control-E Control-M) will prompt for a marker name (the default being the selected text) and set a marker at the caret position.

The Search>Go to Marker menu lists all markers defined in the current buffer. Selecting a marker will move the caret to that marker. The Search>Clear Marker also lists all markers defined in the current buffer, but selecting one will clear it.