From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#35943: 26.2; `count-lines-page' gives wrong line count (off by one) Date: Wed, 29 May 2019 10:43:14 +0200 Message-ID: References: <87lfyq7ngw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="147038"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35943@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 10:44:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVuBu-000c7I-Oi for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 10:44:10 +0200 Original-Received: from localhost ([127.0.0.1]:49982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVuBt-0000n4-Lq for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 04:44:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVuBn-0000mw-My for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 04:44:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVuBm-0006pD-RR for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 04:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVuBm-0006p6-PI for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 04:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVuBm-000363-KP for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 04:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 May 2019 08:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35943 X-GNU-PR-Package: emacs Original-Received: via spool by 35943-submit@debbugs.gnu.org id=B35943.155911941311855 (code B ref 35943); Wed, 29 May 2019 08:44:02 +0000 Original-Received: (at 35943) by debbugs.gnu.org; 29 May 2019 08:43:33 +0000 Original-Received: from localhost ([127.0.0.1]:58049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVuBJ-000359-Ja for submit@debbugs.gnu.org; Wed, 29 May 2019 04:43:33 -0400 Original-Received: from mail-it1-f182.google.com ([209.85.166.182]:38492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVuBH-00034u-Uq for 35943@debbugs.gnu.org; Wed, 29 May 2019 04:43:32 -0400 Original-Received: by mail-it1-f182.google.com with SMTP id i63so2238765ita.3 for <35943@debbugs.gnu.org>; Wed, 29 May 2019 01:43:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qc0fWg2cmiTJNYk22gX1I0fNdffNGkd3c/i0XyLxG2k=; b=TAn2EQYLM7Ppdx5JO4s1dGBlp4qpK/rHuG57kUo2Ls/689ybrAjilz42+fcst2+Ysj 2YByALREI9RVxXU1sCTVRoENkJzlj443fteT5KYycDTm0KQdNhPlZXW/ErzvXdrQfJpc iFZDo4vQv0Fdjlz/XzsFE1kGd973Xl4xuMKio/OloLpnrnH7/mixEg4Mb7VHUZeO3HSq TKK87PJ8YnWIVqugSo0ScZfjNOVhy6evF5m0JPshMdo/hudTQpZc/FEeR4iOohbAAqo+ 5R089WWZrrx2moEiDHrqX+sDxxsvrzunJ4XjMUViJiSadGrl2RyHCEHznnmmNBgU7bgD 3Erg== X-Gm-Message-State: APjAAAW0F4ZpDbDJWGFHG6lQ1zXC5Rd6lseWqhe1TikWtOqDZza3poAw 949pYEu+Re/dp/V3HBf/npk+EbrjYgGZSeRDkxg= X-Google-Smtp-Source: APXvYqyui5hZFpXy5JW/TJRdqhf/jRFYeGaSR79AB+E5PP93CMlJY4tyzX0Xp0qWLPXWruY1KSH6teg4Ne3u5NbzSzo= X-Received: by 2002:a24:680c:: with SMTP id v12mr6182754itb.67.1559119406198; Wed, 29 May 2019 01:43:26 -0700 (PDT) In-Reply-To: <87lfyq7ngw.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159874 Archived-At: close 35943 thanks Noam Postavsky writes: > > Stefan Kangas writes: > > > NB. Convert "^L" to the actual control characters. > > You can use "\C-l" for this. Noted, thanks. > You can see that pages 2 and 3 both have two lines. Yes, this is the semantic I found counter-intuitive. I might be the exception here though, so I'm closing the bug. Thanks for taking the time to comment, and sorry about the noise. Best regards, Stefan Kangas