From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: Re: Docstring for system-type Date: Tue, 11 Jan 2005 20:12:58 -0800 Message-ID: <3DCA749A-6450-11D9-9ECE-000D93B67DC4@mac.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105504847 7077 80.91.229.6 (12 Jan 2005 04:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2005 04:40:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 12 05:40:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CoaJ6-0005Po-00 for ; Wed, 12 Jan 2005 05:40:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoaUg-00087M-RJ for ged-emacs-devel@m.gmane.org; Tue, 11 Jan 2005 23:52:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CoaU4-0007yP-Rg for emacs-devel@gnu.org; Tue, 11 Jan 2005 23:51:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CoaS7-0007Ru-Es for emacs-devel@gnu.org; Tue, 11 Jan 2005 23:49:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoaS4-0007Eo-HQ for emacs-devel@gnu.org; Tue, 11 Jan 2005 23:49:48 -0500 Original-Received: from [17.250.248.85] (helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CoZsT-0006d0-JG for emacs-devel@gnu.org; Tue, 11 Jan 2005 23:13:01 -0500 Original-Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id j0C4D06B017500; Tue, 11 Jan 2005 20:13:00 -0800 (PST) Original-Received: from [10.0.1.201] (c-24-4-203-197.client.comcast.net [24.4.203.197]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id j0C4CwSL002201; Tue, 11 Jan 2005 20:12:59 -0800 (PST) In-Reply-To: Original-To: Stefan Monnier X-Mailer: Apple Mail (2.619) 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: main.gmane.org gmane.emacs.devel:32149 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32149 The darwin string should say "Compile for Mac OS X or Darwin" since it works perfectly on GNU-Darwin x86. -Steven On Jan 11, 2005, at 2:41 PM, Stefan Monnier wrote: > I can never remember which value of `system-type' is used for which > system, > so I think the docstring should simply list them. > > Any objection/addition/adjustment/clarification ? > > > Stefan > > > --- orig/src/emacs.c > +++ mod/src/emacs.c > @@ -1,6 +1,6 @@ > /* Fully extensible Emacs, running on Unix, intended for GNU. > - Copyright (C) 1985,86,87,93,94,95,97,98,1999,2001,02,03,2004 > - Free Software Foundation, Inc. > + Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, > 1999, 2001, > + 2002, 2003, 2004, 2005 Free Software Foundation, Inc. > > This file is part of GNU Emacs. > > @@ -2439,7 +2439,16 @@ > Many arguments are deleted from the list as they are processed. */); > > DEFVAR_LISP ("system-type", &Vsystem_type, > - doc: /* Value is symbol indicating type of operating system > you are using. */); > + doc: /* Value is symbol indicating type of operating system > you are using. > +Special values: > + `ms-dos' compiled as an MS-DOS application. > + `windows-nt' compiled as a native W32 application. > + `cygwin' compiled using the Cygwin library. > + `vax-vms' or `axp-vms': Running on a (Open)VMS system. > + `macos' compiled for Mac OS 9. > + `darwin' compiled for Mac OS X. > + `gnu/linux' compiled for the GNU/Linux system. > +Anything else indicates some sort of Unix system. */); > Vsystem_type = intern (SYSTEM_TYPE); > > DEFVAR_LISP ("system-configuration", &Vsystem_configuration, > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel