From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#35943: 26.2; `count-lines-page' gives wrong line count (off by one) Date: Wed, 29 May 2019 06:50:12 -0700 (PDT) Message-ID: <99cf1496-267a-45b9-8b75-33fab04f83c3@default> References: <87lfyq7ngw.fsf@gmail.com> <87ftox7bno.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223695"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35943@debbugs.gnu.org To: Noam Postavsky , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 15:51:20 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 1hVyz9-000w3S-SH for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 15:51:19 +0200 Original-Received: from localhost ([127.0.0.1]:54832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVyz8-0004Um-Ib for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 09:51:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVyyw-0004TE-7i for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 09:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVyys-0004RD-EE for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 09:51:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVyyr-0004Qt-UR for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 09:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVyyr-0003EF-Rz for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 09:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 May 2019 13:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35943 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 35943-submit@debbugs.gnu.org id=B35943.155913782512359 (code B ref 35943); Wed, 29 May 2019 13:51:01 +0000 Original-Received: (at 35943) by debbugs.gnu.org; 29 May 2019 13:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:58401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVyyG-0003DH-Nd for submit@debbugs.gnu.org; Wed, 29 May 2019 09:50:24 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:38388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVyyF-0003D3-1f for 35943@debbugs.gnu.org; Wed, 29 May 2019 09:50:23 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4TDmva2183583; Wed, 29 May 2019 13:50:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=xKzO3NUbrOod92JozOmynuBRJ+roIQ4rpohSmpN9Ycw=; b=HbeYMIkVow+e9xvP7NdFg+kL13iYKyA2fbHN9qAb+csgtlbo5+mVOBxiWT78eUnSxjdA 7O/K8F/VHbOw6Nob3Fg6T4rusa8Ynt1/nIVULFCOGy+0quRuO3Wls/EcCjRsISLDrk1X 5Y1stCaMyUJehndlIwBhipeLCMef+t774czE583kfi6/o3EcM/Alf6YOKNAI4/Y5g2a4 qGb/4Ot/r3BYSekGdv0CXafU/cEZc+VyOsxoyuO2OsuVGmdIJVxORcfDqityi4vSVs1o rp1RRvZTz0IbNd4rRAmtpbsji6p11pwSEF1Fo5XkSGVb/nUlWVaONsM0JmwNNH5J6KuI ew== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2spxbq9s1b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 May 2019 13:50:16 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x4TDo1uN031268; Wed, 29 May 2019 13:50:15 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2sr31v960j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 May 2019 13:50:15 +0000 Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x4TDoCYW022001; Wed, 29 May 2019 13:50:13 GMT In-Reply-To: <87ftox7bno.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4849.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9271 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905290091 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9271 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905290091 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:159882 Archived-At: > retitle 35943 page-delimiter doesn't include the newline by default FWIW, I don't think page-delimiter should include the newline by default. It has long not included it, and there are certainly both existing code and user habits and expectations that depend on the longstanding default behavior. Also, a form-feed char (^L) is traditionally a/the page delimiter. And as Noam points out, users can customize `page-delimiter'. The default value should not be changed.