From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [rob@tenfoot.org.uk: set-face-attribute doesn't set default for new frames] Date: Sun, 25 Mar 2007 15:01:20 -0400 Message-ID: <87ircp4073.fsf@stupidchicken.com> References: <87ircqlmmg.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174849309 5393 80.91.229.12 (25 Mar 2007 19:01:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2007 19:01:49 +0000 (UTC) Cc: Juri Linkov , Rob Walker , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 25 21:01:41 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 1HVXyE-0005r7-RD for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 21:01:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVY0O-0003JC-DJ for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 14:03:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVY0K-0003Hv-65 for emacs-devel@gnu.org; Sun, 25 Mar 2007 15:03:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVY0J-0003HK-D4 for emacs-devel@gnu.org; Sun, 25 Mar 2007 14:03:47 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HVXy9-0002n4-9w; Sun, 25 Mar 2007 15:01:33 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l2PJ1Vo1009689; Sun, 25 Mar 2007 14:01:31 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l2PJ1Lic012208; Sun, 25 Mar 2007 15:01:21 -0400 (EDT) Original-Received: from localhost (SYDNEYPACIFIC-TWO-SEVENTY-SIX.MIT.EDU [18.95.6.21]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l2PJ1Kah006314; Sun, 25 Mar 2007 15:01:20 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HVXxw-0001vy-00; Sun, 25 Mar 2007 15:01:20 -0400 In-Reply-To: (Richard Stallman's message of "Sun\, 25 Mar 2007 13\:28\:01 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 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:68542 Archived-At: Richard Stallman writes: > > > set-face-attribute doesn't set the default for new frames with todays > > > CVS. Instead, the value used in custom-set-faces is used instead even > > > though I specify nil for the frame (all current frames and future > > > frames) in set-face-attribute. > > > The original problem is, ultimately, external to Emacs: Gnome themes > > specify a default X resource for the Emacs mode-line, which should be > > left to the user. So I propose reverting my patch, which will fix the > > current bug, and documenting the X resource problem in PROBLEMS. > > That is the immediate cause, but the bug is a bug anyway. > I think another attempt should be made to fix this. OK. I checked in another fix for the bug. I've tried every combination of custom-set-face, set-face-attribute, and X resources I could think of, and it seems to work fine. But please help me test the fix!