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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3876 in the body.
You can then email your comments to 3876 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3876; Package emacs. (Sat, 18 Jul 2009 03:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 18 Jul 2009 03:40:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; count-screen-line does not always use window-start as 
	default
Date: Sat, 18 Jul 2009 05:34:18 +0200
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).




In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-06-30
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'



Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#3876; Package emacs. (Sat, 17 Sep 2011 06:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 3876 <at> debbugs.gnu.org (full text, mbox):

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

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




Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 06:57:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 3876 <at> debbugs.gnu.org and Lennart Borgman <lennart.borgman <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 06:57:04 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#3876; Package emacs. (Sat, 17 Sep 2011 07:43:01 GMT) Full text and rfc822 format available.

Message #15 received at 3876 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 3876 <at> debbugs.gnu.org
Subject: Re: 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 Oct 2011 11:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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