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: Emacs.app (Cocoa/GNUstep port) release and feature list Date: Sat, 01 Dec 2007 15:49:59 -0500 Message-ID: References: <55f7df060711230241y6aeee7cfr12e61c493002014b@mail.gmail.com> <200711232300.lANN08Up005153@oogie-boogie.ics.uci.edu> <55f7df060711240239p651eecp50739107676ff941@mail.gmail.com> <55f7df060712010430s167704capce5d46fb624a0a0d@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 1196542222 20781 80.91.229.12 (1 Dec 2007 20:50:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2007 20:50:22 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: "Adrian Robert" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 01 21:50:29 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 1IyZI7-00031y-Tw for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2007 21:50:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyZHr-0007EJ-JY for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2007 15:50:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyZHn-0007E5-9G for emacs-devel@gnu.org; Sat, 01 Dec 2007 15:50:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyZHl-0007DY-OT for emacs-devel@gnu.org; Sat, 01 Dec 2007 15:50:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyZHl-0007DR-KN for emacs-devel@gnu.org; Sat, 01 Dec 2007 15:50:01 -0500 Original-Received: from tomts36.bellnexxia.net ([209.226.175.93] helo=tomts36-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyZHl-0002Qw-6E for emacs-devel@gnu.org; Sat, 01 Dec 2007 15:50:01 -0500 Original-Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071201205000.BQDP7990.tomts36-srv.bellnexxia.net@toip3.srvr.bell.ca> for ; Sat, 1 Dec 2007 15:50:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAD9YUUdGN4zh/2dsb2JhbACBWw Original-Received: from bas1-montreal42-1178045665.dsl.bell.ca (HELO pastel.home) ([70.55.140.225]) by toip3.srvr.bell.ca with ESMTP; 01 Dec 2007 15:47:35 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id C191E7F61; Sat, 1 Dec 2007 15:49:59 -0500 (EST) In-Reply-To: <55f7df060712010430s167704capce5d46fb624a0a0d@mail.gmail.com> (Adrian Robert's message of "Sat, 1 Dec 2007 15:30:56 +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:84443 Archived-At: > I tried this, but on second thought there are two problems. First, > GNUSTEP and COCOA are both implementations of the NeXTstep API. There > are others out there, and if Emacs.app one day supports them then it > will need more than GNUSTEP and !GNUSTEP. Also, it is not sufficient > to assume if MAC_OSX then COCOA, because GNUstep (and possibly other > implementations) can and are installed and used under OS X. > Second, it seems less readable to use "#ifndef XXX" for blocks of code > that are enabled on platform YYY. " #if YYY" (without the negative) is > clearer, even at the cost of additional identifiers. > I could rename them to something like NS_IMPL_GNUSTEP, NS_IMPL_COCOA > (or NS_VENDOR_GNU, NS_VENDOR_APPLE) to make their meaning clearer. On a related note: do we have somewhere a list of such CPP defines with their intended meanings? If so, where? If not, then let's make one. Stefan