[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: |
Eli Zaretskii |
Subject: |
bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window |
Date: |
Wed, 23 Mar 2016 22:22:15 +0200 |
> From: Jorgen Schäfer <jorgen.schaefer@gmail.com>
> Date: Wed, 23 Mar 2016 19:40:50 +0000
> Cc: 23098@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?
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, Jorgen Schaefer, 2016/03/23
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, John Wiegley, 2016/03/26
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, Andreas Schwab, 2016/03/27
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, Drew Adams, 2016/03/27
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, Jorgen Schäfer, 2016/03/28
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, Eli Zaretskii, 2016/03/28
- bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window, Jorgen Schäfer, 2016/03/28