Find the last visible point in an Emacs window