bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3876: 23.1.50; count-screen-line does not always use window-start as


From: Lars Magne Ingebrigtsen
Subject: bug#3876: 23.1.50; count-screen-line does not always use window-start as default
Date: Sat, 17 Sep 2011 08:48:14 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Lennart Borgman <lennart.borgman@gmail.com> writes:

> An easy way to show this is to use org-mode. Do not open heading
> lines. Place a heading line at the top of the window. Evaluate
>
>   (count-screen-lines)
>   (count-screen-lines (window-start))
>
> The first line seems to use 1 as default, not (window-start).

As the doc string says:

---
Optional arguments BEG and END default to `point-min' and `point-max'
respectively.
---

So I don't think this is a bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]