emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs.app (Cocoa/GNUstep port) release and feature list


From: Stefan Monnier
Subject: Re: Emacs.app (Cocoa/GNUstep port) release and feature list
Date: Sat, 01 Dec 2007 15:49:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]