bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: John Wiegley
Subject: bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window
Date: Sat, 26 Mar 2016 16:27:51 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.92 (darwin)

>>>>> Jorgen Schäfer <jorgen.schaefer@gmail.com> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]