[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installing emacs and X11 on OS X

From: Eli Zaretskii
Subject: Re: installing emacs and X11 on OS X
Date: Sun, 27 Oct 2002 00:43:51 +0300

> Newsgroups:
> From: Hugo Wolf <>
> Date: Sat, 26 Oct 2002 21:41:46 GMT
> > I don't know what is "l&f 
> Look and feel.


> When it's running in X11, I want the l&f to
> match X11 conventions as best it can (which it already does by
> default).  When it's running in Aqua, I want the l&f to match Aqua
> conventions.  When it's running in a terminal, there is no gui so I
> don't want to do anything special.

Then I suggest this test:

     (and (eq system-type 'macos) (display-graphic-p))

(I assume that system-type's value is `macos' on Aqua, but I cannot
verify if that's indeed so.)

> I don't understand why it's so hard to grasp that the gui environment
> itself, which emacs represents in the variable window-system, could be
> _the_ relevant feature for a certain set of modifications.

window-system was never meant to be used by user-level code, its use
is deprecated (see etc/NEWS in the Emacs distribution), and it might
disappear altogether in a future Emacs version.  That's why I think
it's basicaly a mistake to use it for anything.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]