[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fake cursors.
From: |
Luc Teirlinck |
Subject: |
Re: Fake cursors. |
Date: |
Mon, 17 Nov 2003 10:55:56 -0600 (CST) |
Kim Storm wrote:
I just installed a (simple) patch to fix this redisplay problem.
It indeed seems to be fixed. Thanks.
The problem with (recenter -1) is not related to this.
Actually, it works correctly: (recenter -1) moves point to the second
last line on the display as it should according to the doc string.
But how do you move it to the last line? (recenter -0) obviously
doesn't work).
I do not believe the doc string says that. Actually, the doc string
is not completely clear:
Center point in window and redisplay frame. With prefix argument ARG,
recenter putting point on screen line ARG relative to the current
window. If ARG is negative, it counts up from the bottom of the
window. (ARG should be less than the height of the window.)
However, the description in (elisp)Textual Scrolling is unambiguous:
If COUNT is a negative number, then it counts upward from the
bottom of the window, so that -1 stands for the last usable line
in the window.
The last _usable_ line seems to mean the last _completely visible_
line, the last line where point can go without rescrolling the window.
When I use (recenter -1) in Info, that is indeed where it puts point.
It is the next to last fully _or_ partially visible line. If there
are no partially visible lines (recenter -1) always puts point on the
last line. Do you see anything different from what I described above?
Maybe the doc string could be clarified.
Sincerely,
Luc.