From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: IRIE Shinsuke Newsgroups: gmane.emacs.bugs Subject: bug#6763: 24.0.50.1; Doc string of `window-line-height' Date: Fri, 30 Jul 2010 22:55:17 +0900 Message-ID: <87tynh9ire.wl%irieshinsuke@yahoo.co.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1280499832 18819 80.91.229.12 (30 Jul 2010 14:23:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 14:23:52 +0000 (UTC) To: 6763@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 30 16:23:50 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OeqV3-0001wv-PL for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jul 2010 16:23:50 +0200 Original-Received: from localhost ([127.0.0.1]:50775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeqV2-0002ro-T8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jul 2010 10:23:48 -0400 Original-Received: from [140.186.70.92] (port=35240 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeqUC-0002L6-9l for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2010 10:23:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeqFZ-0006qX-6m for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2010 10:07:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39429) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeqFZ-0006qS-4B for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2010 10:07:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oeq4A-0006eL-Kw; Fri, 30 Jul 2010 09:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: IRIE Shinsuke Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jul 2010 13:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6763 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128049812325551 (code B ref -1); Fri, 30 Jul 2010 13:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2010 13:55:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oeq3W-0006e4-66 for submit@debbugs.gnu.org; Fri, 30 Jul 2010 09:55:22 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oeq3U-0006dz-3t for submit@debbugs.gnu.org; Fri, 30 Jul 2010 09:55:20 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:54140) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Oeq3j-0003hn-Se for submit@debbugs.gnu.org; Fri, 30 Jul 2010 09:55:36 -0400 Original-Received: from [140.186.70.92] (port=47512 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oeq3i-0001Wh-9F for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2010 09:55:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oeq3g-0004pp-VP for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2010 09:55:33 -0400 Original-Received: from mail-px0-f169.google.com ([209.85.212.169]:50485) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oeq3g-0004pe-Qt for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2010 09:55:32 -0400 Original-Received: by pxi7 with SMTP id 7so1030548pxi.0 for ; Fri, 30 Jul 2010 06:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:from :to:subject:user-agent:mime-version:content-type; bh=tRlMaQuWpIQo6EQMsYVuYOx0OvMRYntpd7F8+PzX9hI=; b=SdJtKJ6FDxpUsk0gZrDaB+CQryUUpb4ZrVL8DRxFNvTmQ0mb70ckUpU9GgUJbjX5Xa HbTbfgO6QsJtHqUWxxtW+47+T77lfWX7ymTDJdIyRa1q0cWFV/ndPHU96DYhsreVjMrg /kFFKZsKwqf1fogQHYxQiJgTcDun50TeEnUZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:from:to:subject:user-agent:mime-version :content-type; b=Adr4/RLfqK0xdQdyXhQ60w6LGpDxAoszgSunl/be5cA2Ukfbpcw2AXrSjGgknXSYBc l+rnMcV0Aal5ovzih79j3gYgPDB9QSrZDf+01/MJjoflkNc3kvbDlNIp9ZXVquiOHhph q5a9C9oN8oMOjiUSVGrQ3bCPouqCSGOKRsYNA= Original-Received: by 10.114.103.6 with SMTP id a6mr2281420wac.213.1280498130846; Fri, 30 Jul 2010 06:55:30 -0700 (PDT) Original-Received: from tama.gmail.com (EM114-51-74-105.pool.e-mobile.ne.jp [114.51.74.105]) by mx.google.com with ESMTPS id q6sm3797770waj.10.2010.07.30.06.55.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Jul 2010 06:55:29 -0700 (PDT) User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=1B$(D+W=1B(B)?= APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 30 Jul 2010 09:56:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39077 Archived-At: Hi, 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. However, using `pos-visible-in-window-p' seems ineffectual. In fact, the following expression often returns nil: (progn (pos-visible-in-window-p) (window-line-height)) So I use `redisplay' instead of `pos-visible-in-window-p' as: (or (window-line-height) (and (redisplay t) (window-line-height))) and it correctly works. Please correct the doc string. IRIE Shinsuke