GNU bug report logs - #23098
25.0.92; (recenter -1) can leave point in the middle of the window

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <jorgen.schaefer <at> gmail.com>

Date: Wed, 23 Mar 2016 18:41:01 UTC

Severity: normal

Found in version 25.0.92

Full log


View this message in rfc822 format

From: Jorgen Schäfer <jorgen.schaefer <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23098 <at> debbugs.gnu.org
Subject: bug#23098: 25.0.92; (recenter -1) can leave point in the middle of the window
Date: Thu, 24 Mar 2016 08:12:08 +0000
[Message part 1 (text/plain, inline)]
> If you set scroll-conservatively to a value larger than 100, don't you
> get point as low as possible?

No.

On Wed, Mar 23, 2016 at 9:22 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > 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?
>
[Message part 2 (text/html, inline)]

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.