From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Svend Tollak Munkejord Newsgroups: gmane.emacs.help Subject: Re: how do i find out the platform emacs runs on? Date: Mon, 01 Dec 2003 10:03:48 +0100 Organization: The Royal Society for Putting Things on Top of Other Things Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070270204 25264 80.91.224.253 (1 Dec 2003 09:16:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 09:16:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 10:16:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQkAZ-0004HH-00 for ; Mon, 01 Dec 2003 10:16:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AQl7u-00060o-Le for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2003 05:17:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: bacchus.pvv.ntnu.no Original-X-Trace: quimby.gnus.org 1070269428 8212 129.241.210.178 (1 Dec 2003 09:03:48 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 1 Dec 2003 09:03:48 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) X-Face: (2vS>!nr@2"*^KO{^8A<, _lGWx3HpnuA1UCA5vbsLl|2fZAV\T'x(3E`4@UJ >_mn@3S(.`C]g9DoFSSNAB@hftp\f-b#!UjRVfG5e#~H*^RvP+:meH63245"^?Zs7S[dE(SL`cn Cancel-Lock: sha1:lphpeAND4MS7QKuXupMdK8p1zqU= Original-Xref: shelby.stanford.edu gnu.emacs.help:118836 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14778 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14778 On 2003-11-24, Eli Zaretskii wrote: >> From: "leo" >> Newsgroups: gnu.emacs.help >> Date: Mon, 24 Nov 2003 15:42:22 +1100 >> >> so how do i find out if emacs runs on the pc or onthe mac? > > The variables `system-configuration' and/or `system-type' will tell you. > >> ps: first attempt was the variable window-system, but that doesn't work >> when i invoke emacs as a terminal app. > > The command "M-x apropos-variable RET system RET" will show you a list > of all the variables that are useful for this and similar purposes. > No need to guess or try-and-err. Here (GNU Emacs 21.3) "M-x apropos-variable RET system RET" lists cperl-help-system file-coding-system-alist Variable: Alist to decide a coding system to use for a file I/O operation. file-name-coding-system Variable: *Coding system for encoding file names. keyboard-coding-system Variable: Specify coding system for keyboard input. sendmail-coding-system Variable: *Coding system for encoding the outgoing mail. Nothing about `system-type'. It is listed (among many other items) with "M-x apropos RET system RET", though. -- Svend Tollak Munkejord