[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: erratic scrolling on incomplete lines
From: |
Miles Bader |
Subject: |
Re: erratic scrolling on incomplete lines |
Date: |
Wed, 23 Feb 2005 13:19:29 +0900 |
On Mon, 21 Feb 2005 23:52:50 +0100, Kim F. Storm <address@hidden> wrote:
> I just installed a fix which I think will fix this problem.
Hmmm, scrolling with partial-width lines definitely seems better now.
There are still a few glitches I've noticed, to do with the last line in
the buffer:
(a) If the last line has no terminating newline, the cursor can still be
displayed on the last line (and then run afoul of the asynchronous
recentering problem previously noted).
An example:
(0) Set up your mode-line face or something so that the last line in
the window can be partial-height.
(1) Make a buffer containing more lines than the screen height, and
make sure the last line doesn't have a final newline.
(2) Position the cursor at the end of the last line.
(3) Move the text in the window down line by line using `C-u -1 C-v'
(4) When the line containing the curso reaches the end of the
window, the next one-line scroll will indeed move the cursor --
but to the beginning of the last [non-newline-terminated] line,
which is now partial-height.
(b) Maybe a related problem, if the cursor is positioned at the end of
the buffer, when there _is_ a final newline (so the cursor is just
after that final newline on an "empty" line), if you do
line-by-line scrolls (as above in case (a)) to move the cursor past
the bottom edge of the window, it will relocate point, not to the
previous line, but to the previous-previous-line, so that [after
scrolling] it's not located on the bottom-most full anymore, but on
the line above that.
Thanks,
-Miles
--
Do not taunt Happy Fun Ball.