From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Van Holder Newsgroups: gmane.emacs.bugs Subject: bug#7205: 24.0.50; Font customizations not being applied properly at startup Date: Wed, 13 Oct 2010 11:32:35 +0200 Message-ID: <874ocqe8uk.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286974776 8868 80.91.229.12 (13 Oct 2010 12:59:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 12:59:36 +0000 (UTC) To: 7205@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 14:59:33 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P60vY-0004s9-Gj for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 14:59:29 +0200 Original-Received: from localhost ([127.0.0.1]:46910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P60vX-0000F2-1l for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 08:59:27 -0400 Original-Received: from [140.186.70.92] (port=47860 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P60KD-00017x-Ro for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:20:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P60Bp-0008So-4Y for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:12:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P60Bp-0008Se-2m for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:12:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P5zwA-0002my-AV; Wed, 13 Oct 2010 07:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tim Van Holder Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2010 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128697094510707 (code B ref -1); Wed, 13 Oct 2010 11:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2010 11:55:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5zvt-0002me-GA for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:55:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5zvq-0002mY-UQ for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:55:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5zz9-0002VK-1Z for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:59:13 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:48343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5zz8-0002V7-PC for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:59:06 -0400 Original-Received: from [140.186.70.92] (port=50207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5zz3-0002wf-Lb for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 07:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5xhY-0006VP-JP for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 05:32:49 -0400 Original-Received: from crm.anubex.com ([194.78.75.179]:56002 helo=mail.anubex.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5xhY-0006Uw-Cs for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 05:32:48 -0400 Original-Received: from localhost (kraatos.anubex.internal [127.0.0.1]) by mail.anubex.com (Postfix) with ESMTP id 21376EBF66A; Wed, 13 Oct 2010 11:32:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at anubex.com Original-Received: from mail.anubex.com ([127.0.0.1]) by localhost (mail.anubex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qEvy2J5RASnp; Wed, 13 Oct 2010 11:32:35 +0200 (CEST) Original-Received: from leeloo.anubex.internal (leeloo.anubex.internal [192.168.14.202]) by mail.anubex.com (Postfix) with ESMTPS id 5BD37EBC9E5; Wed, 13 Oct 2010 11:32:35 +0200 (CEST) Original-Received: from tim by leeloo.anubex.internal with local (Exim 4.63) (envelope-from ) id 1P5xhL-0004Qj-6V; Wed, 13 Oct 2010 11:32:35 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Oct 2010 07:56:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40847 Archived-At: This can't be reproduced with 'emacs -Q'. I have custom-file customized as "~/.custom.el". My .emacs has (setq custom-file "~/.custom.el") (load custom-file) at the top to ensure that it gets loaded. In current bzr (r101947) this is not loading all face customizations anymore. Ediff faces in particular seem to be affected. After startup, list-faces-display shows the diff-xxx faces as their defaults, not the customized version. Eval'ing the custom-set-faces in .custom.el does update the customized colors, but values not explictly overridden remain (e.g. on diff-header, my customized version has no background color set, but the default background color is retained after the eval). Hitting [enter] in the face list for these faces takes me to a customization buffer that declares that the face is set as STANDARD. In fact, this seems to be the case for all faces, even those that do get loaded "correctly". So I tried (re)customizing a face (show-paren-match) and after saving that, .custom.el lost all the previous face customizations, replacing them with a single one: (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(show-paren-match ((t (:background "Navy" :foreground "Wheat" :weight bold))))) In the original file, the entry was: '(show-paren-match ((((class color)) (:bold t :foreground "Wheat" :background "Navy")))) (both examples reformatted to fit on a mail line). So it looks like custom might not like its old format anymore, causing it to mishandle existing customizations (and even worse, completely discard them when a new customization is saved). In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2010-10-13 on leeloo Windowing system distributor `The Cygwin/X Project', version 11.0.10503000 configured using `configure '--with-x''