Oleksandr Manzyuk writes: > 1. M-x eval-expression RET (setq scroll-preserve-screen-position t) RET > > 2. Open a long file that takes up more than one screen. > > 3. Make sure that the beginning of the file is at the top of the screen > and go to a line near the bottom of the screen. > > 4. Press C-l to bring that line to the center of the screen. > > 5. Press M-v and then C-v. > > The expected behavior is that point goes back to the line where it > started. It is not so, however. When M-v is pressed, the window is > scrolled so that the beginning of the file is at the top of the screen > and point is placed in the center-most line. (This bug report unfortunately got no response at the time.) I'm not quite sure I follow the recipe here, but if I understand you correctly, then a simpler recipe is simply: emacs -Q src/alloc.c M-: (setq scroll-preserve-screen-position t) RET Then move point down to the next-to-last line