unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Tip of the day: buffer navigation with global mark
@ 2003-04-05 20:39 Kai Großjohann
  2003-04-06 10:43 ` maierh
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kai Großjohann @ 2003-04-05 20:39 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-04-07 19:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-05 20:39 Tip of the day: buffer navigation with global mark Kai Großjohann
2003-04-06 10:43 ` maierh
2003-04-06 15:12 ` D. Goel
2003-04-06 15:51 ` Bruce Ingalls
2003-04-07 17:17   ` John Russell
2003-04-07 15:35 ` Tip of the day Robert Epprecht
2003-04-07 17:00   ` Kai Großjohann
2003-04-07 18:47   ` David Kastrup
2003-04-07 19:28     ` Robert Epprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).