GNU bug report logs -
#23098
25.0.92; (recenter -1) can leave point in the middle of the window
Previous Next
Full log
View this message in rfc822 format
> From: Jorgen Schäfer <jorgen.schaefer <at> gmail.com>
> Date: Wed, 23 Mar 2016 19:40:50 +0000
> Cc: 23098 <at> debbugs.gnu.org
>
> The use case here are buffers like comint or IRC chat buffers. It's nice to keep the last line of the buffer flush
> with the last line of the window, to show the maximum amount of data. (recenter -1) at the end of a buffer is
> supposed to do just that. In this case, it does not, but instead leaves point in the *middle* of the window.
Yes, because the scrolling fails, and Emacs falls back on recentering.
> If it is not possible to display that line halfway (which sounds like a missing feature to begin with), I would
> expect Emacs to least try to leave point as low in the window as possible, instead of in the middle of the
> window. C-l likewise won't move point any further down, for example.
If you set scroll-conservatively to a value larger than 100, don't you
get point as low as possible?
This bug report was last modified 9 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.