From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Mode-line face bug Date: Sat, 10 Mar 2007 10:51:21 -0500 Message-ID: References: <87fy8ez8pr.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1173542094 13217 80.91.229.12 (10 Mar 2007 15:54:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2007 15:54:54 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Sat Mar 10 16:54:51 2007 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQ3uE-0007RA-Rz for gebp-emacs-pretest-bug@gmane.org; Sat, 10 Mar 2007 16:54:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQ3uc-0007MD-Ok for gebp-emacs-pretest-bug@gmane.org; Sat, 10 Mar 2007 10:55:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQ3t3-0006Lp-Rb for emacs-pretest-bug@gnu.org; Sat, 10 Mar 2007 10:53:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQ3t3-0006Kj-BZ for emacs-pretest-bug@gnu.org; Sat, 10 Mar 2007 10:53:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQ3t3-0006KC-7X; Sat, 10 Mar 2007 10:53:37 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HQ3sb-0004JL-4w; Sat, 10 Mar 2007 10:53:09 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HQ3qr-0004yh-00; Sat, 10 Mar 2007 10:51:21 -0500 In-reply-to: <87fy8ez8pr.fsf@stupidchicken.com> (message from Chong Yidong on Fri, 09 Mar 2007 11:24:00 -0500) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:17507 gmane.emacs.devel:67681 Archived-At: Another possibility is to stop the window manager from automatically setting a face resource for the mode-line. There would then be no problem with the convention that X resources override Elisp, since X resources would be set by the user. That is an interesting way of looking at it. I have asked the GNOME developers to turn off the setting for mode-line, for other reasons. However, the theme manager also makes settings for other faces, such as scroll-bar, so the problem would still exist. It could be that the theme-based settings for other faces won't bother many users, so few will try to override them by customization. If so, the remaining problem would not bother people very much. It would still be a problem, but less urgent. However, that's academic, because even if the GNOME developers listen to us, it will take a long time for corrected versions of GNOME to replace the current ones. So we need a fix for this now, even if we won't need it badly 3 years from now. Here is an idea. When a face attribute is set by customization, set a flag to record that fact. That flag will cause the X resource to be ignored for that attribute. Do you agree that is feasible? Can you implement it?