From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Tue, 02 Nov 2010 18:54:19 +0100 Message-ID: <4CD0504B.50206@swipnet.se> References: <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.6010 707@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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288721869 911 80.91.229.12 (2 Nov 2010 18:17:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Nov 2010 18:17:49 +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 19:17:42 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 1PDLQT-0005LF-98 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Nov 2010 19:17:42 +0100 Original-Received: from localhost ([127.0.0.1]:33519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDLQQ-00076k-C3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Nov 2010 14:17:38 -0400 Original-Received: from [140.186.70.92] (port=59306 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDLNA-0005tq-6b for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 14:17:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDLML-0007df-Im for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 14:13:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDLML-0007db-Cw for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 14:13:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PDL0g-00016M-Ah; Tue, 02 Nov 2010 13:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= 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 17:51: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 submit@debbugs.gnu.org id=B.12887202054225 (code B ref -1); Tue, 02 Nov 2010 17:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Nov 2010 17:50:05 +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 1PDKzl-000166-A4 for submit@debbugs.gnu.org; Tue, 02 Nov 2010 13:50:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PDKzi-00015f-RW for submit@debbugs.gnu.org; Tue, 02 Nov 2010 13:50:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDL3u-0005L7-5V for submit@debbugs.gnu.org; Tue, 02 Nov 2010 13:54:26 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:35795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDL3u-0005L3-33 for submit@debbugs.gnu.org; Tue, 02 Nov 2010 13:54:22 -0400 Original-Received: from [140.186.70.92] (port=59705 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDL3t-0000SF-2n for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 13:54:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDL3r-0005Kg-Si for bug-gnu-emacs@gnu.org; Tue, 02 Nov 2010 13:54:20 -0400 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]:48813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDL3r-0005KL-Jj; Tue, 02 Nov 2010 13:54:19 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id 313E0E91C8; Tue, 2 Nov 2010 18:54:18 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao00AFPtz0xV4S1kPGdsb2JhbACHcZlnDAEBAQE1LcBdhUUEjV0 X-IronPort-AV: E=Sophos;i="4.58,283,1286143200"; d="scan'208";a="145520529" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 02 Nov 2010 18:54:18 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 50C867FA05A; Tue, 2 Nov 2010 18:54:17 +0100 (CET) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 13:51: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:41374 Archived-At: 2010-11-02 15:53, Eli Zaretskii skrev: >> Date: Tue, 02 Nov 2010 14:25:49 +0100 >> From: "Jan D." >> Cc: >> >>>> They are already implemented for X >>> Where? Maybe I misunderstood, but my impression from this discussion >>> was that they aren't and actually the need for them and their utility >>> are debatable. >>> >> >> In xterm.c, do_ewmh_fullscreen. I don't know why you say they are >> debatable > > Like I said, I probably misunderstood. It's easy, what with all the > bikeshedding in this thread. > >> it is the only way to correctly make an Emacs frame full >> height or full width or fullscreen or maximized. It 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. It could be that in a few > rare cases this will produce less pixels than are strictly possible. > So what are the objections to this (my original suggestion) at this > point? To be 100% clear, I suggest: > > . on w32, return the dimensions sans the reserved part(s) > . on other GUI platforms, no change from the current behavior Besides the position thing, it makes it impossible do some tasks, calculating dpi was mentioned. But the biggest objection is that users will find that on w32 they can create a frame that doesn't cover the taskbar. But when they run the same lisp code on X, it does cover the Gnome/KDE panels. Jan D.