[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 18:53:43 +0300

> Newsgroups:
> 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.

reply via email to

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