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: Tue, 04 Dec 2007 08:56:18 -0500 Message-ID: References: <55f7df060712030043t22ac4321hf18c47f40611f20b@mail.gmail.com> <55f7df060712040310i10db439q193cfd6b322dd088@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 1196776633 22568 80.91.229.12 (4 Dec 2007 13:57:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2007 13:57:13 +0000 (UTC) Cc: emacs- devel To: "Adrian Robert" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 04 14:57:22 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 1IzYGR-0006rv-F7 for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2007 14:56:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzYGB-0003pz-3X for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2007 08:56:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzYG6-0003ot-FO for emacs-devel@gnu.org; Tue, 04 Dec 2007 08:56:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzYG5-0003ne-K0 for emacs-devel@gnu.org; Tue, 04 Dec 2007 08:56:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzYG5-0003nQ-Fu for emacs-devel@gnu.org; Tue, 04 Dec 2007 08:56:21 -0500 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzYG5-0001B4-3i for emacs-devel@gnu.org; Tue, 04 Dec 2007 08:56:21 -0500 Original-Received: from toip4.srvr.bell.ca ([209.226.175.87]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071204135619.ZVZC18413.tomts22-srv.bellnexxia.net@toip4.srvr.bell.ca> for ; Tue, 4 Dec 2007 08:56:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAHrrVEdGNcLP/2dsb2JhbACBWw Original-Received: from bas1-montreal42-1177928399.dsl.bell.ca (HELO pastel.home) ([70.53.194.207]) by toip4.srvr.bell.ca with ESMTP; 04 Dec 2007 08:58:46 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 695A77FAC; Tue, 4 Dec 2007 08:56:18 -0500 (EST) In-Reply-To: <55f7df060712040310i10db439q193cfd6b322dd088@mail.gmail.com> (Adrian Robert's message of "Tue, 4 Dec 2007 14:10:07 +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:84650 Archived-At: > It seems the 'x-' prefix may sometimes mean "X-windows display > function" but is mostly used as "generic windowing system function". Usually it started as "X-only" and then code started to use it and in order not to have to fix it other backends also used "x-" when implementing the corresponding feature. But this is wrong and should be fixedm and has been fixed in several cases (e.g. most of the functions that start with "display-"). > Changing this might be good but it would make the most sense to do it > all at once after determining the best plan. Yes, maybe it should be fixes wholesale as well, but at least let's not make things worse than they already are. > Note there is also an 'xw-' prefix used for some functions (e.g. > xw-color-defined-p). Indeed. And notice that there's `color-defined-p' as well, which is the one that should be used. Stefan