From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Fri, 29 Oct 2010 07:51:25 -0700 Message-ID: References: <83hbg66vt4.fsf@gnu.org><83d3qt77lj.fsf@gnu.org> <4CCA9E5D.5060002@swipnet.se><838w1h6zbp.fsf@gnu.org><4CCAC90B.4070800@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288365206 4093 80.91.229.12 (29 Oct 2010 15:13:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 15:13:26 +0000 (UTC) Cc: 7296@debbugs.gnu.org To: "'Lennart Borgman'" , "'Jan D.'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 29 17:13:24 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 1PBqdv-0000bJ-KH for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 17:13:23 +0200 Original-Received: from localhost ([127.0.0.1]:46575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBqdu-0002tG-J7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 11:13:22 -0400 Original-Received: from [140.186.70.92] (port=58850 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBqdi-0002s7-Og for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 11:13:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBqdg-0000KN-Nk for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 11:13:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBqdg-0000KJ-Gp for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 11:13:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBqGM-00044i-Ci; Fri, 29 Oct 2010 10:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Oct 2010 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7296-submit@debbugs.gnu.org id=B7296.128836373415657 (code B ref 7296); Fri, 29 Oct 2010 14:49:02 +0000 Original-Received: (at 7296) by debbugs.gnu.org; 29 Oct 2010 14:48:54 +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 1PBqGD-00044U-94 for submit@debbugs.gnu.org; Fri, 29 Oct 2010 10:48:53 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBqGB-00044P-30 for 7296@debbugs.gnu.org; Fri, 29 Oct 2010 10:48:51 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9TEquYc028513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Oct 2010 14:52:58 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9SKvbPd001829; Fri, 29 Oct 2010 14:52:55 GMT Original-Received: from abhmt019.oracle.com by acsmt353.oracle.com with ESMTP id 730729081288363887; Fri, 29 Oct 2010 07:51:27 -0700 Original-Received: from dradamslap1 (/10.159.223.180) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 29 Oct 2010 07:51:26 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: Act3cd6cMGOEJI5iSR6XFFbfTl20XwABQ1uw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 29 Oct 2010 10:49: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:41227 Archived-At: I have not been following this thread. I'll just offer this, in case it helps. In my library fit-frame.el, I take into account the value returned by function `winmgr-display-available-pixel-bounds', which is apparently available on MacIntosh (but maybe it's only available for Aquamacs - dunno). I believe that that function takes into account various areas of the Mac screen that are unavailable for Emacs display. On that platform, my code uses the sizes returned by that function instead of using `x-display-pixel-(height|width)', when calculating the frame size. David Reitter (Aquamacs) can tell you more about that function, if you're interested. If you're thinking of doing something similar for Windows, you might want to contact him about it.