From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: can't set both mode-line color and default frame font? Date: Tue, 18 Sep 2007 15:34:09 -0400 Message-ID: References: <87ejhcmgp2.fsf@baldur.tsdh.de> <200709062116.l86LGWnO000262@oogie-boogie.ics.uci.edu> <46EE1C19.7070704@swipnet.se> <46EF6E5D.8020300@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1190144184 24248 80.91.229.12 (18 Sep 2007 19:36:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 19:36:24 +0000 (UTC) Cc: bojohan+news@dd.chalmers.se, emacs-devel@gnu.org To: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 21:36:17 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXirk-0003I7-S5 for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 21:36:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXirj-0005sl-9w for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 15:36:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXiqL-0004mt-VC for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:34:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXiqJ-0004jp-OV for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:34:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXiqJ-0004jZ-Ia for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:34:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXiqJ-0000lb-9K for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:34:43 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IXipl-0006Oz-HF; Tue, 18 Sep 2007 15:34:09 -0400 In-reply-to: <46EF6E5D.8020300@swipnet.se> (message from =?ISO-8859-15?Q?Jan_Dj=E4rv?= on Tue, 18 Sep 2007 08:21:17 +0200) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79217 Archived-At: 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? We would not want to simply ignore them, but we might want to give them different priority compared with other kinds of color specifications. However, if we always give face customization precedence over X resources, then we don't need to disinguish GNOME's X resources from other X resources.