From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: Status of MAC/W32/X consolidation and some questions. Date: 10 Mar 2003 18:23:00 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <5xadg38lnj.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047317679 26921 80.91.224.249 (10 Mar 2003 17:34:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2003 17:34:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 10 18:34:37 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18sR7F-0006la-00 for ; Mon, 10 Mar 2003 18:31:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18sRTb-0004yh-00 for ; Mon, 10 Mar 2003 18:54:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sR5Y-0002tR-09 for emacs-devel@quimby.gnus.org; Mon, 10 Mar 2003 12:29:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18sR1i-0001wb-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 12:25:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18sR0t-0001hy-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 12:24:36 -0500 Original-Received: from [193.28.100.167] (helo=mail.epost.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sQzY-0001Mn-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 12:23:12 -0500 Original-Received: from cicero.benny.turtle-trading.net.epost.de (193.99.153.6) by mail.epost.de (6.7.015) id 3E6BE05D0000E6BA; Mon, 10 Mar 2003 18:23:11 +0100 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: <5xadg38lnj.fsf@kfs2.cua.dk> Original-Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12243 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12243 Hi Kim, storm@cua.dk (Kim F. Storm) writes: > [There are a couple of MAC and W32 specific questions in this mail. > Those who know these ports well, please take a look at them.] I am not by any means an expert on the code, but I have some thoughts. > Now, what I'm currently working on is to replace all mac* and w32* > specific names with the corresponding x* names, > e.g. FRAME_MAC_WINDOW is replaced by FRAME_X_WINDOW, I guess this is probably the fastest path and would mostly leave alone the X11 code. But wouldn't it in theory better to rename those items to a neutral FRAME_GUI_ANYTHING instead? When I look at code I find the tendency to re-use X11 names outside of X11 rather irritating. > * Does the W32 version support -nw? Yes. > If so, is FRAME_W32_P still true when specified? No. If I read the code right, FRAME_W32_P is based on output_method, and output_method can be interrogated as the result of the (framep) function. "(framep (selected-frame))" returns t (for "character-only terminal") in this situation. > Also, since I cannot really test the changes on MAC and W32, I do > expect that I'm going to make a few mistakes in the consolidation, > resulting in non-functional MAC and W32 versions on the CVS head, > which I hope some of you will assist me in solving (I hope/expect it > is just a matter of fixing some trivial compilation errors). I can probably help with that. so long, benny