From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Status of MAC/W32/X consolidation and some questions. Date: 11 Mar 2003 02:04:21 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xbs0iemsq.fsf@kfs2.cua.dk> 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 1047341284 15415 80.91.224.249 (11 Mar 2003 00:08:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 00:08:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 11 01:08:01 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 18sXJJ-000400-00 for ; Tue, 11 Mar 2003 01:08:01 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18sXfn-0000cd-00 for ; Tue, 11 Mar 2003 01:31: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 18sXJK-0008Tb-06 for emacs-devel@quimby.gnus.org; Mon, 10 Mar 2003 19:08:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18sXIi-0008Ib-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 19:07:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18sXHw-0007N9-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 19:06:36 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sXGo-0006rP-00 for emacs-devel@gnu.org; Mon, 10 Mar 2003 19:05:26 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 0BE547C012; Tue, 11 Mar 2003 01:05:25 +0100 (CET) Original-To: Andrew Choi In-Reply-To: Original-Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:12254 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12254 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? 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? -- Kim F. Storm http://www.cua.dk