Eli Zaretskii writes: >> In other words, the window slowly scrolls up, moving the point to the >> top, but then quickly resets back to how it looked like before the >> scroll started. > > No, it does not, at least not on my system. There's a small vscroll > (you should see it if you move the cursor vertically with C-p after > eval-buffer returns). So the code works, it just yields a vscroll > that is not what you expect for some reason (and in about 50% of my > attempts -- in the rest the code works as you expect). See the attached screencast on what I am seeing.