From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: can't set both mode-line color and default frame font? Date: Wed, 19 Sep 2007 08:08:37 +0200 Message-ID: <46F0BCE5.6070500@swipnet.se> References: <87ejhcmgp2.fsf@baldur.tsdh.de> <200709062116.l86LGWnO000262@oogie-boogie.ics.uci.edu> <46EE1C19.7070704@swipnet.se> <46EF6E5D.8020300@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190182153 22192 80.91.229.12 (19 Sep 2007 06:09:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 06:09:13 +0000 (UTC) Cc: emacs-devel@gnu.org, bojohan+news@dd.chalmers.se To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 08:09:12 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 1IXskJ-0006F9-QX for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 08:09:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXskH-0007jp-V1 for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 02:09:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXskE-0007jZ-ME for emacs-devel@gnu.org; Wed, 19 Sep 2007 02:09:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXskD-0007jC-Vg for emacs-devel@gnu.org; Wed, 19 Sep 2007 02:09:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXskD-0007j8-S7 for emacs-devel@gnu.org; Wed, 19 Sep 2007 02:09:05 -0400 Original-Received: from av9-1-sn2.hy.skanova.net ([81.228.8.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXskA-0002UH-Hr; Wed, 19 Sep 2007 02:09:02 -0400 Original-Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id C1D5037FC7; Wed, 19 Sep 2007 08:09:01 +0200 (CEST) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id AC9E437E53; Wed, 19 Sep 2007 08:09:01 +0200 (CEST) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 9377D37E49; Wed, 19 Sep 2007 08:09:01 +0200 (CEST) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: X-Detected-Kernel: Linux 2.4-2.6 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:79278 Archived-At: Richard Stallman skrev: > 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. That seems like a good approach. Jan D.