Subject: Re: bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window

From: John Wiegley <[email-masked]>
Date: Sat, 26 Mar 2016 16:27:51 -0700

>>>>> Jorgen Schäfer <[email-masked]> writes:

> The use case here are buffers like comint or IRC chat buffers.

FWIW, I use "scroll to bottom" in ERC, and all I had to do to make it work was
the following:

  (add-to-list
   'erc-mode-hook
   #'(lambda () (set (make-local-variable 'scroll-conservatively) 100)))

So is the bug here that it can't be done, or that (recenter -1) by itself
doesn't do what you think it should?

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2