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


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

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: Re: bug#18195: 24.3.92; window-screen-lines is not accurate
Date: Tue, 05 Aug 2014 18:08:24 +0300
> Date: Tue, 05 Aug 2014 16:38:36 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: dgutov <at> yandex.ru, 18195 <at> debbugs.gnu.org
> 
>  >> Can you fix it so it simply works on the current buffer instead
>  >> of the window's buffer?
>  >
>  > Fix what exactly?  What is "it" in this context?
> 
> `window-text-pixel-size'.  Never mind.  I'll find a fix.

You'll need to designate a window anyway, since layout is impossible
without knowing in which window it will be done.

There's also the issue of the buffer text on which the text will be
overlaid: the dimensions of the screen lines to be (partially)
overlaid affect the pixel dimensions of the overlaying text.  So if
the buffer text uses different fonts, the text overlaid on it will
have different dimensions than the same text when displayed in its own
buffer.




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.