* bug#11278: 24.0.95; count-screen-lines wrong value for a corner case?
@ 2012-04-19 14:44 Leo
2012-04-21 10:01 ` Chong Yidong
0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2012-04-19 14:44 UTC (permalink / raw)
To: 11278
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...
Leo
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11278: 24.0.95; count-screen-lines wrong value for a corner case?
2012-04-19 14:44 bug#11278: 24.0.95; count-screen-lines wrong value for a corner case? Leo
@ 2012-04-21 10:01 ` Chong Yidong
2019-11-01 19:52 ` Stefan Kangas
0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2012-04-21 10:01 UTC (permalink / raw)
To: Leo; +Cc: 11278
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.)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#11278: 24.0.95; count-screen-lines wrong value for a corner case?
2012-04-21 10:01 ` Chong Yidong
@ 2019-11-01 19:52 ` Stefan Kangas
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2019-11-01 19:52 UTC (permalink / raw)
To: Chong Yidong; +Cc: Leo, 11278
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-01 19:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 14:44 bug#11278: 24.0.95; count-screen-lines wrong value for a corner case? Leo
2012-04-21 10:01 ` Chong Yidong
2019-11-01 19:52 ` Stefan Kangas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).