[gnu.emacs.bug] Centering on read-only end-of-buffer

Stavros.Macrakis@crg.bull.fr (03/31/89)

When you're using a read-only buffer, you presumably don't intend to
add anything to it.  So you might as well make the screenful centered
on the end of buffer contain as much text as possible (rather than
leaving space at the end for appending).  For this reason, I modify
C-v and M-> to have the following behavior:
  (if (and buffer-read-only (eobp))
      (recenter -1))
My version of C-v also does the following:  (M-v is similar)
 (condition-case () (scroll-up n)
    (end-of-buffer (end-of-buffer)
		   (beep)))

I find the above behavior quite handy.