GNU bug report logs - #3602
23.0.94; window-line-height problems

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 18 Jun 2009 05:45:03 UTC

Severity: minor

Tags: confirmed, notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 3602 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#3602: 23.0.94; window-line-height problems
Date: Mon, 10 Feb 2014 09:14:43 +0100
>> That seems to say that if you have a header line, then you can get its
>> height in pixels this way (window-line-height 'header-line), and
>> similarly for mode-line. But that doesn't seem to work.
>
> (window-line-height 'mode-line)
> => nil
>
> So I can confirm this bug.

The doc-string of `window-line-height' says ...

     Return nil if window display is not up-to-date.  In that case, use
    `pos-visible-in-window-p' to obtain the information.

... and the Elisp manual says ...

     If the display is not up to date, `window-line-height' returns
     `nil'.  In that case, `pos-visible-in-window-p' may be used to
     obtain related information.

... so I wonder how you can "confirm this bug" ;-)

martin




This bug report was last modified 11 years and 108 days ago.

Previous Next


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