all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 3876@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 08:48:14 +0200	[thread overview]
Message-ID: <m3obyjd5qp.fsf@stories.gnus.org> (raw)
In-Reply-To: <e01d8a50907172034l35279038wfba1d58ce444e816@mail.gmail.com> (Lennart Borgman's message of "Sat, 18 Jul 2009 05:34:18 +0200")

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	other threads:[~2011-09-17  6:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18  3:34 bug#3876: 23.1.50; count-screen-line does not always use window-start as default Lennart Borgman
2011-09-17  6:48 ` Lars Magne Ingebrigtsen [this message]
2011-09-17  7:37   ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3obyjd5qp.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=3876@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.