From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.help Subject: Re: Operating system in an emacs variable? Date: Wed, 19 Mar 2003 12:17:38 +0100 Organization: Ecole normale superieure, Paris, France Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048072918 32028 80.91.224.249 (19 Mar 2003 11:21:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 11:21:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 12:21:57 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 18vbdt-0008KQ-00 for ; Wed, 19 Mar 2003 12:21:57 +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 18vbcg-0001sv-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2003 06:20:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!freenix!jussieu.fr!ens.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: dec-2.ens.fr Original-X-Trace: nef.ens.fr 1048072658 73862 129.199.160.64 (19 Mar 2003 11:17:38 GMT) Original-X-Complaints-To: abuse@ens.fr Original-NNTP-Posting-Date: 19 Mar 2003 11:17:38 GMT User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 Cancel-Lock: sha1:VW5EUCJsieMBvO9YDZkE2v1ZpUw= Original-Xref: shelby.stanford.edu gnu.emacs.help:111209 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:7709 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7709 Carsten Dominik writes: > I am looking for a variable or function in Emacs which gives me > information about the operating system the emacs process is running > 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? (getenv "MACHINE") -- Bastien