[climacs-devel] Strange behavior of C-l close to end of buffer

Robert Strandh strandh at labri.fr
Mon Jan 28 06:55:25 UTC 2008


Let M be the number of lines between the cursor and the end of the
buffer, and let W be the number of lines that can be displayed in a
window. 

When M is large, C-l displays the line with the cursor in the middle
of the window, which is good.  However, when the cursor is close to
the end of the buffer (when M < W/2) this is no longer the case. 

It looks to me as if a sequence of C-l slowly converges to a situation
where 2*M lines are displayed.

I think it would be better if C-l would center the cursor in the
window if possible.
-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------



More information about the climacs-devel mailing list