unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Tip of the day: buffer navigation with global mark
Date: Sat, 05 Apr 2003 22:39:50 +0200	[thread overview]
Message-ID: <847ka8isq1.fsf@lucy.is.informatik.uni-duisburg.de> (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.

             reply	other threads:[~2003-04-05 20:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-05 20:39 Kai Großjohann [this message]
2003-04-06 10:43 ` Tip of the day: buffer navigation with global mark 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=847ka8isq1.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).