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

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Thu, 19 Apr 2012 15:02:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.0.95

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 11278 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Leo <sdl.web <at> gmail.com>, 11278 <at> debbugs.gnu.org
Subject: Re: 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 <at> gnu.org> writes:

> Leo <sdl.web <at> 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




This bug report was last modified 5 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.