6.2 The Position Stack

When jumping to a member declaration or definition with one of Ebrowse’s commands, the position from where you performed the jump and the position where you jumped to are recorded in a position stack. There are several ways in which you can quickly move to positions in the stack:

C-c C-m -

This command sets point to the previous position in the position stack. Directly after you performed a jump, this will put you back to the position where you came from.

The stack is not popped, i.e., you can always switch back and forth between positions in the stack. To avoid letting the stack grow to infinite size there is a maximum number of positions defined. When this number is reached, older positions are discarded when new positions are pushed on the stack.

C-c C-m +

This command moves forward in the position stack, setting point to the next position stored in the position stack.

C-c C-m p

Displays an electric buffer showing all positions saved in the stack. You can select a position by pressing SPC in a line. You can view a position with v.