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: system-type Date: Sat, 21 Mar 2009 14:59:46 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237662005 16284 80.91.229.12 (21 Mar 2009 19:00:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2009 19:00:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 21 20:01:22 2009 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 1Ll6Ra-0004Ef-Rt for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2009 20:01:19 +0100 Original-Received: from localhost ([127.0.0.1]:46306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ll6QE-0002PX-BI for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2009 14:59:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ll6Px-0002CG-5P for emacs-devel@gnu.org; Sat, 21 Mar 2009 14:59:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ll6Ps-00026s-H7 for emacs-devel@gnu.org; Sat, 21 Mar 2009 14:59:36 -0400 Original-Received: from [199.232.76.173] (port=39390 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ll6Ps-00026V-BY for emacs-devel@gnu.org; Sat, 21 Mar 2009 14:59:32 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:36689 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ll6Po-0006Iv-M9; Sat, 21 Mar 2009 14:59:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjoFANzVxElFxIZP/2dsb2JhbACBUNJmg34GhGc X-IronPort-AV: E=Sophos;i="4.38,400,1233550800"; d="scan'208";a="35484999" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 21 Mar 2009 14:59:26 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 30ABA7F74; Sat, 21 Mar 2009 14:59:46 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Sat, 21 Mar 2009 16:29:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109763 Archived-At: >> > The text sounds as if this is exhaustive list, but then what is the >> > value defined by the NextSTEP port? >> Depends: if it's running under Mac OS X, it'll be `darwin', if it's >> running under GNU/Linux it'll be `gnu/linux', ... > `darwin' is not in that list. Should it be added? Yes. It's in the docstring. > Also, what with all the other Unixoid systems (which I presume we > still support), like *BSD, Solaris, etc.? As the docstring explains: "Anything else indicates some sort of Unix system." >> > If `system-type' is not the way >> > to distinguish the NextSTEP port from other platforms, then what is? >> window-system? > That would fail under -nw, I think. I used `(featurep 'ns)', which > works, according to David Reitter. Under -nw you shouldn't have to (need to) worry about nextstep. At least, it seems no different than it was with Carbon before (or with X11, ...). Stefan