emacs-devel
[Top][All Lists]
Advanced

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

Re: Testing window-system considered harmful


From: YAMAMOTO Mitsuharu
Subject: Re: Testing window-system considered harmful
Date: Mon, 24 Oct 2005 10:09:49 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Fri, 21 Oct 2005 16:50:36 +0200, Eli Zaretskii <address@hidden> said:

> Is it possible to use one of the display-*-p predicate functions
> instead of testing the value of window-system here?  It is always
> better to use one of those predicates, because they automatically
> support all relevant Emacs configurations, without any need to add
> them explicitly to a list such as the one above.

I don't think any of existing one is suitable for this particular
case.  Maybe introduce display-has-x-resource-p?

> (There are other changes like the one above that used window-system;
> please consider them all.)

I'm afraid general cases are beyond me.  Experts at disp-table.el and
faces.el could provide good abstractions.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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