From: Christoph <cschol2112@googlemail.com>
To: emacs-devel@gnu.org
Subject: count-lines-page
Date: Sun, 22 Aug 2010 12:31:52 -0600 [thread overview]
Message-ID: <4C716D18.8090006@gmail.com> (raw)
Bug #6825 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6825) points out
some peculiar behavior of what-page. This is actually caused by the
count-lines-page function.
I am wondering if this behavior is intended or a bug itself.
emacs -Q
open a buffer, type test
C-a
i.e.
test
^ point
M-x count-lines-page
Output: Page has 1 lines (0 + 1) (means: 0 before, 1 after)
C-f
i.e.
test
^ point
M-x count-lines-page
Output: Page has 1 lines (1 + 1) (means: 1 before, 1 after)
Does this make sense? There is only 1 line in the buffer. How can there
be 1 before and 1 after?
Christoph
next reply other threads:[~2010-08-22 18:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-22 18:31 Christoph [this message]
2010-08-22 19:38 ` count-lines-page Glenn Morris
2010-08-24 22:56 ` count-lines-page Stephen Berman
2010-08-24 23:18 ` count-lines-page Stephen Berman
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=4C716D18.8090006@gmail.com \
--to=cschol2112@googlemail.com \
--cc=emacs-devel@gnu.org \
/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.