From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Tue, 2 Nov 2010 17:10:32 +0100 Message-ID: References: <4CCAC90B.4070800@swipnet.se> <4CCB2713.5070104@swipnet.se> <4CCBC930.5060705@swipnet.se> <4CCBF75B.8070209@swipnet.se> <4CCC558E.5030704@swipnet.se> <7C6D3056-3E04-46E5-A731-A2E996197F03@swipnet.se> <4CCD4A1C.6070707@swipnet.se> <4CCEA66C.8060900@swipnet.se> <4CCF1753.6010707@swipnet.se> <83hbg06b9q.fsf@gnu.org> <83eib467v2.fsf@gnu.org> <4CCF64BE.7020808@gnu.org> <83aals5q7w.fsf@gnu.org> <4CD0115D.8050008@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288714819 29809 80.91.229.12 (2 Nov 2010 16:20:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Nov 2010 16:20:19 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 02 17:20:15 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 1PDJal-0004gn-CJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Nov 2010 17:20:11 +0100 Original-Received: from localhost ([127.0.0.1]:37178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDJaj-0004u7-R2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Nov 2010 12:20:10 -0400 Original-Received: from [140.186.70.92] (port=37243 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDJUF-0007nr-Bu for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 12:13:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDJUD-000653-0t for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 12:13:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDJUC-00064z-VI for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 12:13:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PDJO1-0000Mn-SI; Tue, 02 Nov 2010 12:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Nov 2010 16:07:01 +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 submit@debbugs.gnu.org id=B.12887140001403 (code B ref -1); Tue, 02 Nov 2010 16:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Nov 2010 16:06:40 +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 1PDJNg-0000Ma-5E for submit@debbugs.gnu.org; Tue, 02 Nov 2010 12:06:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PDJNe-0000MV-VP for submit@debbugs.gnu.org; Tue, 02 Nov 2010 12:06:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDJRs-0005Zv-DX for submit@debbugs.gnu.org; Tue, 02 Nov 2010 12:11:01 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:42288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDJRs-0005Zr-4L for submit@debbugs.gnu.org; Tue, 02 Nov 2010 12:11:00 -0400 Original-Received: from [140.186.70.92] (port=35849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDJRq-0005gi-T5 for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 12:10:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDJRp-0005ZJ-MH for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 12:10:58 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:35038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDJRp-0005Z0-Jx; Tue, 02 Nov 2010 12:10:57 -0400 Original-Received: by vws18 with SMTP id 18so5577527vws.0 for ; Tue, 02 Nov 2010 09:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=JNnoKEA6rWJ8iGTjl2JsGpErIa3hImmVeDBslJQtOO0=; b=p2unkqBt/foOvfxyu0DIwOafM7LgsvVbunAQUcXlwzS97gSO8FblBsNr4/A8maOJx6 tydN2JjKs/ZMuT83H/NSrtzIp64qlVhcri4i9c9gn8g6mTgLTLVaKbu7ZxUW2gOALaz0 R7jFMg6EpvJOLkqUXYWhGD4M4u+iamTXYVdN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=HhrS6LGv+DXBnMwky3qEZa0BzHn3hp737sK4/BGtGmf4WNwk85RHte92unkg6qsN00 Lg0FDbswJPFAbvksYJjixpZzvyapW/8AZgJiqvkxnhOg+lR5/yLsxNcGdQOkGzJcDVb+ CRfi9/7tQbPos5yP1n9VS+cYD/2SO4BCjNVBA= Original-Received: by 10.224.217.70 with SMTP id hl6mr9483356qab.79.1288714256201; Tue, 02 Nov 2010 09:10:56 -0700 (PDT) Original-Received: by 10.229.224.199 with HTTP; Tue, 2 Nov 2010 09:10:32 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.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: Tue, 02 Nov 2010 12:07:01 -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:41372 Archived-At: On Tue, Nov 2, 2010 at 3:53 PM, Eli Zaretskii wrote: > >> it is the only way to correctly make an Emacs frame full >> height or full width or fullscreen or maximized. =C2=A0It lets the WM do= the >> job, so Emacs doesn't need to count pixels and panels and taskbars and >> autohide and whatever. > > I think the only practical way of doing the same on Windows is to > exclude the area reserved for the task bar. =C2=A0It could be that in a f= ew > rare cases this will produce less pixels than are strictly possible. > So what are the objections to this (my original suggestion) at this > point? =C2=A0To be 100% clear, I suggest: > > =C2=A0. on w32, return the dimensions sans the reserved part(s) > =C2=A0. on other GUI platforms, no change from the current behavior Please see Stefan's objection and my reply to that. In addition to that I suggest that we clearly document that display-pixel-height/width returns the total size (even if that seems self evident to some here).