From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.devel Subject: Re: Status of MAC/W32/X consolidation and some questions. Date: Tue, 11 Mar 2003 08:40:33 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <5xadg38lnj.fsf@kfs2.cua.dk> <5xbs0iemsq.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1047397513 28412 80.91.224.249 (11 Mar 2003 15:45:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 15:45:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 11 16:45:09 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 18slwD-0007Np-00 for ; Tue, 11 Mar 2003 16:45: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 18smJ1-0000vb-00 for ; Tue, 11 Mar 2003 17:08:43 +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 18sluy-0008DB-03 for emacs-devel@quimby.gnus.org; Tue, 11 Mar 2003 10:43:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18sluL-0007gy-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 10:43:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18slti-00078c-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 10:42:36 -0500 Original-Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10] helo=pd4mo3so.prod.shaw.ca) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18slrr-0006O3-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 10:40:39 -0500 Original-Received: from pd5mr1so.prod.shaw.ca (pd5mr1so-qfe3.prod.shaw.ca [10.0.141.232]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0HBL00D8XCVNT3@l-daemon> for emacs-devel@gnu.org; Tue, 11 Mar 2003 08:40:35 -0700 (MST) Original-Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0HBL00HGFCVNMC@l-daemon> for emacs-devel@gnu.org; Tue, 11 Mar 2003 08:40:35 -0700 (MST) Original-Received: from owlbear.local.shawmail (h68-144-207-94.cg.shawcable.net [68.144.207.94]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0HBL00C7UCVMYW@l-daemon> for emacs-devel@gnu.org; Tue, 11 Mar 2003 08:40:34 -0700 (MST) In-reply-to: <5xbs0iemsq.fsf@kfs2.cua.dk> Original-To: storm@cua.dk (Kim F. Storm) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Lines: 33 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:12276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12276 storm@cua.dk (Kim F. Storm) writes: > Andrew Choi writes: > > > storm@cua.dk (Kim F. Storm) writes: > > > > > [...] > > > > > > Also on MAC, there are quite a number of TODO items, meaning that some > > > section of more-or-less unmodified X or W32 code is commented out with > > > #if 0... #endif. In the cases where the code is to be "consolidated", > > > I would prefer to leave a TODO note in the mac* file and simply delete > > > the code from the file. Then in the consolidated code file, I will > > > put a #ifndef MAC_OS around the consolidated code to indicate that it > > > is not used on MAC_OS (yet). Is that an acceptable approach? > > > > Please consider using HAVE_CARBON instead of MAC_OS: some people compile > > Emacs to run under X Window on Mac OS X. > > I don't understand the difference between those names -- are you saying > that we should in general use HAVE_CARBON rather than MAC_OS throughout? Yes. > For the windows port, there are two defines: WINDOWSNT and HAVE_NTGUI. > The first specifies that we are on a W32 platform, the other that we > are compiling for the W32 GUI. > > Are MAC_OS and HAVE_CARBON the Mac equivalent of those? Yes, the two macros name the OS and GUI, respectively. Some people may be compiling Emacs with HAVE_CARBON and yet others may be compiling with HAVE_X11 on the Mac OS X.