unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Adrian Robert" <adrian.b.robert@gmail.com>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: Emacs.app (Cocoa/GNUstep port) release and feature list
Date: Sat, 01 Dec 2007 15:49:59 -0500	[thread overview]
Message-ID: <jwvfxymta3d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <55f7df060712010430s167704capce5d46fb624a0a0d@mail.gmail.com> (Adrian Robert's message of "Sat, 1 Dec 2007 15:30:56 +0300")

> 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	other threads:[~2007-12-01 20:49 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 10:41 Emacs.app (Cocoa/GNUstep port) release and feature list Adrian Robert
2007-11-23 14:56 ` David Reitter
2007-11-23 15:25   ` YAMAMOTO Mitsuharu
2007-11-23 15:38   ` Adrian Robert
2007-11-23 15:29 ` Stefan Monnier
2007-11-23 16:10   ` Adrian Robert
2007-11-23 16:24     ` Stefan Monnier
2007-11-23 17:40       ` CHENG Gao
2007-11-25  6:58       ` Adrian Robert
2007-11-23 23:00 ` Dan Nicolaescu
2007-11-24 10:39   ` Adrian Robert
2007-11-24 16:33     ` Dan Nicolaescu
2007-11-25 11:17       ` Adrian Robert
2007-11-25 17:09         ` Dan Nicolaescu
2007-11-24 23:32     ` YAMAMOTO Mitsuharu
2007-12-01 12:30     ` Adrian Robert
2007-12-01 20:49       ` Stefan Monnier [this message]
2007-12-10 16:47         ` MAC_OS_X cpp macro? Stefan Monnier
2007-12-11  1:08           ` YAMAMOTO Mitsuharu
2007-12-11 18:57             ` Stefan Monnier
2007-12-12  0:07               ` YAMAMOTO Mitsuharu
2007-12-10 17:04         ` admin/CPP-DEFINES Stefan Monnier
2007-12-14 12:42           ` admin/CPP-DEFINES Eli Zaretskii
2007-11-24 11:37 ` Emacs.app (Cocoa/GNUstep port) release and feature list William Xu
2007-11-24 12:47   ` YAMAMOTO Mitsuharu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfxymta3d.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=adrian.b.robert@gmail.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).