From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: Re: frame-pixel-(width|height) is incorrect Date: Fri, 21 Dec 2007 18:41:56 +0000 Message-ID: <4CEE6368-F5AE-4A81-8F0B-D6FE57CF9A69@gmail.com> References: <476B84B3.3080606@gnu.org> <5A77E856-4AAF-4D76-9E90-E0C8B0B715B8@gmail.com> <476B9A6F.9030408@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198262575 31893 80.91.229.12 (21 Dec 2007 18:42:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2007 18:42:55 +0000 (UTC) Cc: Bug-Gnu-Emacs , Drew Adams To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 19:43:06 2007 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.50) id 1J5mpt-0007uu-0y for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 19:43:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5mpZ-000870-7m for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 13:42:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5mov-0007MQ-S7 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 13:42:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5mor-0007GS-V5 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 13:42:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5mor-0007GD-Qi for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 13:42:01 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5mor-0001ul-DX for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2007 13:42:01 -0500 Original-Received: by nf-out-0910.google.com with SMTP id f5so93972nfh.26 for ; Fri, 21 Dec 2007 10:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=GdZLjYf5CMoCSBWKmZLUvt7kZNf/QXRGsdSu7bjrK6I=; b=ZXHYeGU9uBxT9a6q9H/7sztyAhKmMoFbemZPmIRhgkI3+4se1HfvFD+++jRg7lPjvX/K747XkpNHiNKCDs91wYm5/NmWJ/2/pIc3V86E9J/FYvODaA/vS9CRokQL5yQAnMuzgkCreiH1A5Htf+HANHreQV7DsY06ECTRDkqYxY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=ERSR/rp76A2F2wmGTNGwkAnTBi/bYBpWEpICNoN0S0YOQonk0+vRyjhtsrOirbHmpD6G7J6ABd6AUUSDZ3Bed/uNNvfIZUYA0GDzj4Q5HvdJ2O79Ev3Ufcp2NXlrLwj5Tob+Ccc0cNWe7ZZSH1PKC9V441lfEjOoSZe+h39DRq0= Original-Received: by 10.78.162.4 with SMTP id k4mr2177247hue.66.1198262519861; Fri, 21 Dec 2007 10:41:59 -0800 (PST) Original-Received: from scarlett.lan ( [81.129.18.245]) by mx.google.com with ESMTPS id c4sm250827nfi.22.2007.12.21.10.41.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2007 10:41:58 -0800 (PST) In-Reply-To: <476B9A6F.9030408@gnu.org> X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:17215 Archived-At: On 21 Dec 2007, at 10:50, Jason Rumney wrote: > David Reitter wrote: >> If you count the tool-bar as "available for text lines", and the >> title >> bar as part of the non-existant menu bar (on my system), then that is >> indeed correct. > I think it is a bug to count the tool-bar as available for text lines, > but certainly the title bar is not available. The question that needs > answering before making any changes is; what code relies on the > current > behaviour? frame-pixel-* are used by dframe, ediff, quail, lucid, and x-dnd. What I would really need is a function that gives me the total frame extensions, in order to place the frame on the screen. Isn't the pixel size of the text area automatically (* (frame-height) (frame-char-height)) anyways? At least that's what it is for me.