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 #16 received at 3602 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: martin rudalics <rudalics <at> gmx.at>
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 00:18:47 -0800
martin rudalics <rudalics <at> gmx.at> writes:

>> (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" ;-)

Is the window display not up to date when I hit `C-x C-e' after the form
up there?

Apparently not:

(progn (sit-for 1) (window-line-height 'mode-line))
=> (22 0 748 0)

So this doesn't seem to be a bug.  Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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.