From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: installing emacs and X11 on OS X Date: Sun, 27 Oct 2002 18:53:43 +0300 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <2950-Sun27Oct2002185342+0200-eliz@is.elta.co.il> References: <87elah9ril.fsf@bundalo.shootybangbang.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035737799 22404 80.91.224.249 (27 Oct 2002 16:56:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2002 16:56:39 +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 185qiM-0005pE-00 for ; Sun, 27 Oct 2002 17:56:38 +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 185qff-0000Il-00; Sun, 27 Oct 2002 11:53:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 185qed-00073w-00 for help-gnu-emacs@gnu.org; Sun, 27 Oct 2002 11:52:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 185qeR-0006wD-00 for help-gnu-emacs@gnu.org; Sun, 27 Oct 2002 11:52:46 -0500 Original-Received: from odin.inter.net.il ([192.114.186.10]) by monty-python.gnu.org with esmtp (Exim 4.10) id 185qeQ-0006w9-00 for help-gnu-emacs@gnu.org; Sun, 27 Oct 2002 11:52:35 -0500 Original-Received: from zaretsky ([80.230.194.63]) by odin.inter.net.il (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id ARH95536; Sun, 27 Oct 2002 18:52:02 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Hugo Wolf on Sun, 27 Oct 2002 15:07:18 GMT) 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:2988 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2988 > Newsgroups: gnu.emacs.help > From: Hugo Wolf > Date: Sun, 27 Oct 2002 15:07:18 GMT > > 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... Because I never realized that this aspect has such a profound meaning for you. Most people to whom I explained this in the past were convinced by the other issues I mentioned in this thread. > > (and (eq system-type 'macos) (display-graphic-p)) > > There's no logical difference I can see between this and (eq > window-system 'mac) There's a significant difference: system-type has a precise and fixed meaning -- the OS on which Emacs runs -- while window-system's semantics is vague and changes with time. > The only problem with this is that I can't use it in xemacs, which > doesn't have display-graphic-p. Hopefully, they will in the future. In the meantime, you could pick up the simple definitions of the display-*-p functions from Emacs, which I think should work in XEmacs with minimal changes, and plant them into your .emacs conditioned on XEmacs. > Thanks again for a real answer. This is much more useful than all the > earlier posturing. You are welcome. It's sometimes hard to know what will be the convincing argument; sorry I didn't think about this one before.