emacs-devel
[Top][All Lists]
Advanced

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

Re: can't set both mode-line color and default frame font?


From: Jan Djärv
Subject: Re: can't set both mode-line color and default frame font?
Date: Tue, 18 Sep 2007 08:21:17 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070728)



Richard Stallman skrev:
So it is practically impossible to know the source for an individual resource, except perhaps the command line.

That is a screw.

Is there any way Emacs can reliably detect that it's on a system
where certain X resources are made by the GNOME settings manager?

Not reliably, i.e. 100% correct all the time, but we can make a good guess. The resources set by the GNOME settings manager are quite specific (like Emacs.scroll-bar.attributeBackground, Emacs.scroll-bar.attributeForeground) and it it unlikely a user sets those. So if we find that those resources the Gnome settings manager sets are set, we can with some confidence conclude that the user did not set them.

But what should we do then?  Ignore mode-line resources?

        Jan D.




reply via email to

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