From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pete Oster Newsgroups: gmane.emacs.help Subject: Re: Operating system in an emacs variable? Date: Wed, 19 Mar 2003 16:03:53 GMT Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048091056 14761 80.91.224.249 (19 Mar 2003 16:24:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 16:24:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 17:24:13 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vgMP-0003pf-00 for ; Wed, 19 Mar 2003 17:24:13 +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 18vgJX-0003H0-07 for gnu-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2003 11:21:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!4.24.21.153!chcgil2-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Darwin) Original-Lines: 16 Original-X-Trace: /wzbxc6u5mnFjurLtxHXLqQY0O78SyMhvIEz14hDejG0MSQys2ROM1Um7uwjSUUld1sYUiZggaJP!Erdsj4YYnyPsEjMZBH7S6MBh7YPFOzz1tKwdkEfkz0usU6WS7KThK0vMry+BO0XoQF8AVcj3PQVs!Xfo= Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Wed, 19 Mar 2003 16:03:53 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:111216 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7717 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7717 In article , Carsten Dominik wrote: > on. Basically, I would like to know if I am running Linux or MacOSX. > There must be a variable containing this information, but I could not > find it. Anyone? There are such variables, but which one you should be using depends on why you want to know. For instance, is it really the platform you want to know, or is it the window system? Should this test return the same value for any emacs running in osx (terminal, x11, carbon), or should it return different values for those three cases? In short, what is it you're trying to accomplish with this test?