[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tip of the day: buffer navigation with global mark
From: |
Kai Großjohann |
Subject: |
Tip of the day: buffer navigation with global mark |
Date: |
Sat, 05 Apr 2003 22:39:50 +0200 |
User-agent: |
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux) |
It is well known that you can do C-SPC at various spots in a buffer,
and subsequently, C-u C-SPC takes you back. (Repeat to go further
back.) Kinda like the web browser history.
But it is less well known, I think, that the global mark ring exists
and can be navigated in a similar manner. If the previous mark was
set in another buffer, C-SPC also pushes mark on the global mark
ring. This can be used with C-x C-@ to jump back to it.
So you can do C-SPC, then go to another buffer and do stuff. Then
later on, C-x C-@ will go back to the original buffer.
It might land you in the wrong spot, though. But C-u C-SPC will cure
that.
--
A preposition is not a good thing to end a sentence with.
- Tip of the day: buffer navigation with global mark,
Kai Großjohann <=