[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
count-lines-page
From: |
Christoph |
Subject: |
count-lines-page |
Date: |
Sun, 22 Aug 2010 12:31:52 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
Bug #6825 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6825) points out
some peculiar behavior of what-page. This is actually caused by the
count-lines-page function.
I am wondering if this behavior is intended or a bug itself.
emacs -Q
open a buffer, type test
C-a
i.e.
test
^ point
M-x count-lines-page
Output: Page has 1 lines (0 + 1) (means: 0 before, 1 after)
C-f
i.e.
test
^ point
M-x count-lines-page
Output: Page has 1 lines (1 + 1) (means: 1 before, 1 after)
Does this make sense? There is only 1 line in the buffer. How can there
be 1 before and 1 after?
Christoph
- count-lines-page,
Christoph <=