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

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

bug#11278: 24.0.95; count-screen-lines wrong value for a corner case?


From: Stefan Kangas
Subject: bug#11278: 24.0.95; count-screen-lines wrong value for a corner case?
Date: Fri, 01 Nov 2019 20:52:47 +0100

tags 11278 + wontfix
close 11278
thanks

Chong Yidong <cyd@gnu.org> writes:

> Leo <sdl.web@gmail.com> writes:
>
>> Should (count-screen-lines (point) (point) t) return 1 instead of 0?
>>
>> Otherwise the return value of count-screen-lines when
>> COUNT-FINAL-NEWLINE is non-nil takes 0, 2, 3, 4, 5...
>
> I don't think it matters much either way, but if you change it, you need
> to check that all the existing users of count-screen-lines won't break.
> (Not worth the trouble IMO.)

With the above reply, I'm closing this as wontfix.

Best regards,
Stefan Kangas





reply via email to

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