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#21415: 25.0.50; Emacs Trunk -- pixelwise width/height for x-create-frame Date: Sun, 06 Sep 2015 21:26:59 +0200 Message-ID: <55EC9383.2030401@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441567713 27057 80.91.229.3 (6 Sep 2015 19:28:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 19:28:33 +0000 (UTC) Cc: 21415@debbugs.gnu.org To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 06 21:28:20 2015 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 1ZYfbt-0006nM-VI for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Sep 2015 21:28:18 +0200 Original-Received: from localhost ([::1]:50295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYfbt-0000xf-Tg for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Sep 2015 15:28:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYfbi-0000ph-Ur for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 15:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYfbf-0005Gv-A7 for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 15:28:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYfbf-0005Gq-72 for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 15:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZYfbf-0005bQ-3o for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2015 15:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2015 19:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21415 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21415-submit@debbugs.gnu.org id=B21415.144156763721470 (code B ref 21415); Sun, 06 Sep 2015 19:28:03 +0000 Original-Received: (at 21415) by debbugs.gnu.org; 6 Sep 2015 19:27:17 +0000 Original-Received: from localhost ([127.0.0.1]:50931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYfau-0005aE-HW for submit@debbugs.gnu.org; Sun, 06 Sep 2015 15:27:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:49490) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYfas-0005a6-Kk for 21415@debbugs.gnu.org; Sun, 06 Sep 2015 15:27:15 -0400 Original-Received: from [88.117.50.54] ([88.117.50.54]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0McmFl-1ZHPiw0vI1-00HuWO; Sun, 06 Sep 2015 21:27:11 +0200 In-Reply-To: X-Provags-ID: V03:K0:1qtv3gLH7ZtghhidxT8dM51QfB0uEaAch9+MbicHa+opZKI7YuY v8994JIBSBtZOLXjth8myRwhsZCLdJQRgUZTuODINqN31M3BWZ2lONGxtBectQj/dOCRRCR 5hNdgofbLLNj3BlZFdj2IzNU9bKepQB9TBz2fH2ip8+7TY6TBQXi3QoA2O//soV2GyWPGYz V25O2lpxO0+ywwLZAvlPw== X-UI-Out-Filterresults: notjunk:1;V01:K0:X2mNjCgV1+8=:fiyxvXh50Fhd3x/G++ECO9 GVzJPsfX/ewUT/P+iYcWVSeiIPTlP4oFSSJxwnQPjujjXBLxKo2hbjXx5sEuaS0n2kvUjGBuR 1P7LX8/1n2ZBlLJFNdHYm95hOsPoCHk8p1JP5x2hu0f6WtAvorysyZ18de4VOTh7sxMYuu3KE mNJnhRkgzEELUWBLewxJ/EO6TWXwoTgbNpDekoc/kwgYtV72sL4VrOunp6TX+X878PVN1Zc5s 9MLpQwqbhAQXHzVbxLTkSfqoHze5Yy4KfSUAJO0aEpV6kmQY5ekXNtNI3sPGDdjAFDt1ACEIr NOh1tM6+a+BGas8W/TVc0UqF6AOdUDW9IJtfUBDZIksNVZ9uKHROrez+tY2yxlwiHdZDGOih9 K9I+xT+lSuoImIfXZhzWLDwGQtB7NVzYhVEMvG2hdYQoTz9/eH0s5kO0tsrI8czzJgmQhpVMk GcEW/P2k8acCyA1i+tKvubYPa1RlDx4hhyF+S45QRjlyI4UIWYL+2kXFswerTjj56FJjKTET7 Bppkbz7tYofRt7W1puzLigF18oyn6t9CJTZswDXiMY4fyPaglsE6MIVNgeCLcfRsQFWiamvtK cmZQBkJMTBWTmuuJAe/gB5Kij9X9/GI+GU39YHwCmji8jQ3oKLXIjaSO24B71y6uWYeIZyScQ H+5RoulrHNHTCAfoHgleMVRMgHxVqI2iId1RIG0/VMYiss+/N30jc1hzrSPKEOUGCONM2GpZr /AR4+i3g8pGeXhbnVcMcbAVMwNeEPnQBR4mEeA== 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: 208.118.235.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:106194 Archived-At: > With respect to your inquiry about `frame-geometry' on OSX, I tested > the outer frame dimensions with an applescript using the feature > request of bug number 18283 You really should send a patch for that bug. If noone objects I'll apply it in a few days. Few people here build on OS X and still fewer write Applescripts. > -- the results of getting the bounds with > an applescript were the same as those returned by `frame-geometry' for > the outer frame pixel width/height. So that aspect of > `frame-geometry' is correct on OSX 10.6.8 Snow Leopard Server. I did > not test the other aspects of `frame-geometry'. You will need them to be able to translate from the outer frame pixel width/height to the native width/height. It's the latter you specify in the width/height parameters. So you have to subtract the width of the external border and the title bar from the outer width/height to get the desired native width/height. martin