If you use Icicles then you can use
C-SPC to go to any marker, choosing it using completion against the text of its line.
With no prefix arg or a positive prefix arg
C-SPC is just
set-mark-command, as usual in Emacs (set the mark).
C-0 C-SPC (prefix arg 0) invokes command
icicle-goto-any-marker, which lets you choose any marker in any buffer.
C-- C-SPC (negative prefix arg) invokes
icicle-goto-marker, which lets you choose a marker in the current buffer.
Each of the go-to-marker commands is a multi-command, which means you can act on any number of completion candidates, so you can navigate among the markers that match your current input in the minibuffer (with an empty minibuffer, all markers are candidates).
C-h f icicle-goto-marker:
icicle-goto-marker is an interactive Lisp function in
It is bound to
menu-bar search goto icicles icicle-goto-marker.
Go to a marker in this buffer, choosing it by the line that includes it.
crosshairs.el is loaded, then the target position is highlighted.
By default, candidates are sorted in marker order, that is, with
respect to their buffer positions. Use
C-, to change the
During completion you can use these keys:
C-RET - Goto marker named by current completion candidate
C-down - Goto marker named by next completion candidate
C-up - Goto marker named by previous completion candidate
C-next - Goto marker named by next apropos-completion candidate
C-prior - Goto marker named by previous apropos-completion candidate
C-end - Goto marker named by next prefix-completion candidate
C-home - Goto marker named by previous prefix-completion candidate
<S-delete> - Delete marker named by current completion candidate
When candidate action and cycling are combined (e.g.
icicle-act-before-cycle-flag determines which occurs first.
C-M- instead of
C-, the same keys (
C-M-down, and so on) provide help about candidates.
S-RET to choose a candidate as the final
C-g’ to quit. This is an Icicles command - see
See also commands