Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    Thanks from me too! For, (umm many!) years, I've typed "<>" before going scrolling around, just have a search target to return to.
    – JRobert
    Commented Sep 4, 2010 at 18:23
  • For me this causes scroll-up-line (which is what I use with my scroll wheel) to cause the cursor to move forward one character when it hits the top or bottom of the screen.
    – asmeurer
    Commented May 15, 2015 at 20:56
  • @asmeurer I don't observe this. There must be something weird in your init file or a bug in your version of Emacs. Commented May 15, 2015 at 21:10
  • Yeah, I figured that out after I posted this. I opened a new question at emacs.stackexchange.com/questions/12439/….
    – asmeurer
    Commented May 15, 2015 at 21:13
  • I think this should be (setq scroll-preserve-screen-position 'always). Otherwise, C-v M-v does not put point back where you started.(The second point position is visible on the first screenful so point doesn't move back.) Commented May 16, 2015 at 10:09