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 11:40:04 +0200 Message-ID: References: <87v9xuh7xl.fsf@mail.linkov.net> 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="143836"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35943@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 11:41:14 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 1hVv58-000bFu-CD for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 11:41:14 +0200 Original-Received: from localhost ([127.0.0.1]:50709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVv57-0004AZ-85 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 05:41:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVv4x-00047l-7H for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 05:41:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVv4w-0004PS-3e for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 05:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVv4w-0004PA-1M for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 05:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVv4v-0006oA-SR for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 05:41:01 -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 09:41:01 +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.155912282426107 (code B ref 35943); Wed, 29 May 2019 09:41:01 +0000 Original-Received: (at 35943) by debbugs.gnu.org; 29 May 2019 09:40:24 +0000 Original-Received: from localhost ([127.0.0.1]:58119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVv4K-0006n1-4x for submit@debbugs.gnu.org; Wed, 29 May 2019 05:40:24 -0400 Original-Received: from mail-it1-f169.google.com ([209.85.166.169]:40593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVv4I-0006mm-MO for 35943@debbugs.gnu.org; Wed, 29 May 2019 05:40:23 -0400 Original-Received: by mail-it1-f169.google.com with SMTP id h11so2444781itf.5 for <35943@debbugs.gnu.org>; Wed, 29 May 2019 02:40:22 -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=i0nGJpHtNcv5PDcMNCxzouSYnQKQA2rK9JPxCJhE128=; b=n3QjEicctDYsRjAfPXLPKxivecqw94PFkcgck4G1iT49sEW61+pIXQosJgGN70Mbsz kdiYNYq1RAliGAZLicsPHI58qX7inpMuhYUjZu3LZrXjfBJl6v1kkZd6cgw110B22Ozt X2Pk+32wD9ibVr3ZJdixj33WGEChss9YoavQg2w3ieeso6HW3ou5dHguAMEBV4nHZ/ZD lhNgZrZ7shh1FqNNwcW2rQBktuPpZCPOhu9IVKF+lZWnfpGOPT+wY6Wm0zLbGCZTptO1 v8NAIO5Cd5r0VLwSnd1P5lkdHzkIMEDSu0fwjZKoqiXR9EuXPfjjLdolRRNDKdXQJL+L LBvA== X-Gm-Message-State: APjAAAUlhyyqAahYM0l1hGAekjhUcKQp1uEQCsGZjh7d0DHlOqDPB6yq 21fhUV8DziXpuKB1s4jnd0xqfRshwfUGt3jI8ksM/2gB X-Google-Smtp-Source: APXvYqwkwUGT8NqC6hbn8z7m0Z7WO3Bht3Bx3BnEoHGIKnEGO85mMwXx2PW/9gaPuMJQQoYYgB1fqBe7lUzlo6Yzi+Q= X-Received: by 2002:a24:680c:: with SMTP id v12mr6317134itb.67.1559122816475; Wed, 29 May 2019 02:40:16 -0700 (PDT) In-Reply-To: <87v9xuh7xl.fsf@mail.linkov.net> 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:159877 Archived-At: Juri Linkov writes: > > "Page has 1 lines (1 + 0)" > ======= > > BTW, this message is grammatically incorrect. It uses plural form > for singular amount. It should use `ngettext' to get the correct word. Thanks, I submitted the following bug report with a patch to fix this: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35981 Best regards, Stefan Kangas