From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposed function: x-display-usable-bounds Date: Mon, 03 Dec 2007 09:56:35 -0500 Message-ID: References: <55f7df060712030043t22ac4321hf18c47f40611f20b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196693912 22127 80.91.229.12 (3 Dec 2007 14:58:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 14:58:32 +0000 (UTC) Cc: emacs- devel To: "Adrian Robert" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 15:58:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzCjG-0000JQ-3v for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 15:57:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzCiy-0003qQ-Jo for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 09:56:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzCit-0003pY-J9 for emacs-devel@gnu.org; Mon, 03 Dec 2007 09:56:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzCir-0003ol-Dx for emacs-devel@gnu.org; Mon, 03 Dec 2007 09:56:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzCir-0003ob-A6 for emacs-devel@gnu.org; Mon, 03 Dec 2007 09:56:37 -0500 Original-Received: from tomts16.bellnexxia.net ([209.226.175.4] helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzCiq-0006me-Nv for emacs-devel@gnu.org; Mon, 03 Dec 2007 09:56:36 -0500 Original-Received: from toip7.srvr.bell.ca ([209.226.175.124]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071203145635.YWBP574.tomts16-srv.bellnexxia.net@toip7.srvr.bell.ca> for ; Mon, 3 Dec 2007 09:56:35 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4HAJOnU0dGNcLP/2dsb2JhbACBWw Original-Received: from bas1-montreal42-1177928399.dsl.bell.ca (HELO pastel.home) ([70.53.194.207]) by toip7.srvr.bell.ca with ESMTP; 03 Dec 2007 09:57:23 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 589AC8175; Mon, 3 Dec 2007 09:56:35 -0500 (EST) In-Reply-To: <55f7df060712030043t22ac4321hf18c47f40611f20b@mail.gmail.com> (Adrian Robert's message of "Mon, 3 Dec 2007 11:43:58 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84571 Archived-At: > width height) for the usable screen area. Since it seems relevant for > all platforms, it would seem appropriate to name this function with an > x- prefix, e.g., x-display-usable-bounds, and define it for all > platforms. As a placeholder implementation, a list (0 0 Actually, better *not* use an "x-" prefix for the main name. I.e. name it "display-usable-bounds". It's implementation may just check the display used by the selected frame and dispatch to x-display-usable-bounds, w32-display-usable-bounds, mac-display-usable-bounds, ... Stefan "we may one day be able to build an Emacs executable that can not only control simultanously several X11s and ttys but also some W32/Carbon/GNUstep backend and maybe more".