GNU bug report logs - #3876
23.1.50; count-screen-line does not always use window-start as default

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Sat, 18 Jul 2009 03:40:05 UTC

Severity: normal

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 3876 <at> debbugs.gnu.org
Subject: bug#3876: 23.1.50; count-screen-line does not always use window-start as default
Date: Sat, 17 Sep 2011 09:37:33 +0200
On Sat, Sep 17, 2011 at 08:48, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:
> Lennart Borgman <lennart.borgman <at> 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.

You are right. Thanks.




This bug report was last modified 13 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.