From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hugo Wolf Newsgroups: gmane.emacs.help Subject: Re: installing emacs and X11 on OS X Date: Sun, 27 Oct 2002 15:07:18 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <87elah9ril.fsf@bundalo.shootybangbang.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035733583 13135 80.91.224.249 (27 Oct 2002 15:46:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2002 15:46:23 +0000 (UTC) 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 185pcK-0003PG-00 for ; Sun, 27 Oct 2002 16:46:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 185pdK-0007nF-00; Sun, 27 Oct 2002 10:47:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Darwin) Original-Lines: 41 Original-NNTP-Posting-Host: 66.31.41.137 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc51.ops.asp.att.net 1035731238 66.31.41.137 (Sun, 27 Oct 2002 15:07:18 GMT) Original-NNTP-Posting-Date: Sun, 27 Oct 2002 15:07:18 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106435 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2983 In article , Eli Zaretskii wrote: > window-system ... is deprecated Thank you. Finally a _sensible_ reason to avoid using this variable. Not because it's semantically or morally wrong, as has been claimed so far -- in fact, it's exactly right -- but because it's deprecated. I probably shouldn't ask why this little issue wasn't mentioned earlier in the discussion... > (and (eq system-type 'macos) (display-graphic-p)) There's no logical difference I can see between this and (eq window-system 'mac) -- i.e., no circumstance I can imagine in which one would be true and the other false. Can you think of one? But if the emacs developer community is getting away from the use of window-system, that's reason enough to switch. The only problem with this is that I can't use it in xemacs, which doesn't have display-graphic-p. Since almost all of my init code is shared between xemacs and gnuemacs, I'll need an additional test now, and I'll also need to find out what the xemacs equivalent of display-graphic-p is. The window-system test works in both variants. > (I assume that system-type's value is `macos' on Aqua, but I cannot > verify if that's indeed so.) In osx it's actually 'darwin. Darwin is the bsd core that underlies osx. I don't know what it is in old, pre-unix MacOS. Thanks again for a real answer. This is much more useful than all the earlier posturing.