title: In Emacs, how can I jump to the top of the file and then return to where I came from?
body: <p>In Vim, <kbd>Ctrl-I</kbd> takes the cursor back to its previous location (before the last jump). <kbd>Ctrl-O</kbd> is its complement, moving forward through the jumplist. <kbd>gg</kbd> jumps to the top of the file, so <kbd>Ctrl-I</kbd> then jumps back.</p>
  
  <p><a href="https://stackoverflow.com/questions/4918707/in-emacs-how-to-go-back-to-previous-line-position-after-using-semantic-jump-to">The equivalent to <kbd>Ctrl-I</kbd> in Emacs would be <kbd>C-u C-space</kbd>.</a> However, the obvious way to get to the top of the file, <kbd>Home</kbd>, doesn't set the mark, so there's no way to return to the line you came from that way.</p>
  
  <p>Is there a better set of commands for getting to the top and bottom of the file (and perhaps other places) that <em>does</em> respect the mark ring? Or is there a better way to reverse <kbd>Home</kbd>?</p>