bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35943: 26.2; `count-lines-page' gives wrong line count (off by one)


From: Noam Postavsky
Subject: bug#35943: 26.2; `count-lines-page' gives wrong line count (off by one)
Date: Wed, 29 May 2019 07:17:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

retitle 35943 page-delimiter doesn't include the newline by default
quit

Stefan Kangas <stefan@marxist.se> writes:

>> 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.

You can get the semantics you want by changing page-delimiter to include
the newline:

(setq page-delimiter "^\C-l\n")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]