On Thu, 19 Aug 2010 20:53:42 -0600 Christoph wrote: > emacs -Q > in *scratch* buffer type something > C-a > M-x what-page > Output in minibuffer: Page 1, line 5 > C-f > M-x what-page > Output in minibuffer: Page 1, line 6 AFAICT using line-number-at-pos instead of count-lines DTRT, see patch below. Steve Berman 2010-08-21 Stephen Berman * page.el (what-page): Use line-number-at-pos instead of count-lines to calculate line number.