GNU bug report logs - #18195
24.3.92; window-screen-lines is not accurate

Previous Next

Package: emacs;

Reported by: Dmitry <dgutov <at> yandex.ru>

Date: Tue, 5 Aug 2014 02:01:01 UTC

Severity: normal

Found in version 24.3.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 18195 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: bug#18195: 24.3.92; window-screen-lines is not accurate
Date: Tue, 05 Aug 2014 17:13:18 +0300
> Date: Tue, 05 Aug 2014 16:08:56 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: dgutov <at> yandex.ru, 18195 <at> debbugs.gnu.org
> 
> > But that value is a floating-point number, so accuracy is not lost.
> 
> Text displayed may be of completely different height.

Of course.  But that's of no importance for window-screen-lines,
because its contract is to count lines in units of the height of the
font used by the default face.

The fact that the metrics of the default face is used is the reason
why I wrote that this is a slippery slope, see my other message.




This bug report was last modified 10 years and 289 days ago.

Previous Next


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