From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#3602: 23.0.94; window-line-height problems Date: Mon, 10 Feb 2014 09:14:43 +0100 Message-ID: <52F88A73.4060602@gmx.at> References: <1AF1CC9F5E1C4E168A7584390EEDC74D@us.oracle.com> <8761onhca6.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392020187 30806 80.91.229.3 (10 Feb 2014 08:16:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 08:16:27 +0000 (UTC) Cc: 3602@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 09:16:33 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCm2Y-0008VX-N9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 09:16:30 +0100 Original-Received: from localhost ([::1]:54078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCm2Y-0002Yf-9Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 03:16:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCm2I-0002GF-C3 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 03:16:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCm27-0002hg-50 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 03:16:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCm27-0002hc-24 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 03:16:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCm25-0000Di-T9 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 03:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 08:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3602 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 3602-submit@debbugs.gnu.org id=B3602.1392020159780 (code B ref 3602); Mon, 10 Feb 2014 08:16:01 +0000 Original-Received: (at 3602) by debbugs.gnu.org; 10 Feb 2014 08:15:59 +0000 Original-Received: from localhost ([127.0.0.1]:33982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCm21-0000Bu-OW for submit@debbugs.gnu.org; Mon, 10 Feb 2014 03:15:58 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:56893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCm0y-000872-5W for 3602@debbugs.gnu.org; Mon, 10 Feb 2014 03:14:52 -0500 Original-Received: from [62.47.34.220] ([62.47.34.220]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MBrCt-1W5w7A1OBb-00AixH for <3602@debbugs.gnu.org>; Mon, 10 Feb 2014 09:14:51 +0100 In-Reply-To: <8761onhca6.fsf@building.gnus.org> X-Provags-ID: V03:K0:nqubOfK6bC3M+JIJKaZGINoZSBmBUXv4EfDQr9nmnUkubMrpIkX Mopy2L2CLUg5j6rdrgW5ag5Az2+vlwCqQAXsz4V49qGB5Oqmiaq9UKsbc3fkS5NtIe6WC6T r+qeyTkUW/PluskiBUev7TSgUrY4/lqnL7/SQgK/Vw5irQc/H6ISw7e3+CXSxOZwpybEJnS b0a+0uFdy2K5AKk4wpUFw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85248 Archived-At: >> 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