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 19:53:13 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 1035748576 16597 80.91.224.249 (27 Oct 2002 19:56:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2002 19:56:16 +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 185tWA-0004JS-00 for ; Sun, 27 Oct 2002 20:56:15 +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 185tWo-0001y0-00; Sun, 27 Oct 2002 14:56:54 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!cyclone1.gnilink.net!wn11feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Darwin) Original-Lines: 47 Original-NNTP-Posting-Host: 66.31.41.137 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: sccrnsc02 1035748392 66.31.41.137 (Sun, 27 Oct 2002 19:53:12 GMT) Original-NNTP-Posting-Date: Sun, 27 Oct 2002 19:53:12 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106442 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:2992 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2992 In article , Thomas F. Burdick wrote: > This doesn't let me differentiate between Carbon-Emacs on OS X, and > X11-Emacs on the same OS. system-type is darwin on both, and > display-graphic-p is t on both. Yow! You're right. So I _still_ need to use window-system, deprecated or not. The non-deprecated solution is indeed semantically different, just as you say, and it doesn't do what I want. > However, it makes a lot of sense (to > me) that someone might want to make the Carbon one behave more like a > Carbon application, and the X11 one behave like an X11 application. Absolutely. This is exactly the behavior I want and the behavior I was getting by checking window-system. > If window-system goes away, I'd have to resort to something truly evil > to determine which system I'm on. Yep. > Out of curiosity, why is it depricated? Because people abuse it where > specific feature tests would be better? If so, that seems like a bad > reason ... people can abuse anything, but AFAIK, window-system is the > only way to determine what window system you're on. I've been trying to make this argument for awhile now, so far without luck. Maybe you'll do better.... > [ It would be cool to be able to have something like a window-system-p > function, so I could ask (window-system-p 'carbon) or > (window-system-p 'x11) or (window-system-p 'gtk). Especially > because you could then be more specific, because a theoretical > GTK-Emacs could run under X11 or a framebuffer or... ] Sounds good to me. In any case I'm glad at least one other person out there understands that it's useful to conditionalize emacs l&f based on the windowing system under which it's running.